From cc0d410144b1cd72dfb183c377aa61e6cb6e3e23 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sat, 31 May 2025 01:51:47 +0100 Subject: [PATCH] gh-91048: Reorder result tuple in asyncio/tools.py --- Lib/asyncio/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/tools.py b/Lib/asyncio/tools.py index 3fc4524c008db6..4a2c126a672c1e 100644 --- a/Lib/asyncio/tools.py +++ b/Lib/asyncio/tools.py @@ -28,7 +28,7 @@ def __init__( # ─── indexing helpers ─────────────────────────────────────────── def _format_stack_entry(elem: tuple[str, str, int] | str) -> str: if isinstance(elem, tuple): - fqname, path, line_no = elem + path, line_no, fqname = elem return f"{fqname} {path}:{line_no}" return elem