From ab9ccbeccaccf0882a0b4b445fbf3803f65ddf41 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sat, 6 Jul 2024 23:49:33 +0300 Subject: [PATCH] gh-119909: Fix ``NameError`` in ``asyncio`` REPL (GH-121341) (cherry picked from commit 114389470ec3db457c589b3991b695258d23ce5a) Co-authored-by: Kirill Podoprigora --- Lib/asyncio/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/__main__.py b/Lib/asyncio/__main__.py index 91fff9aaee337b..3e2fe93943d4ed 100644 --- a/Lib/asyncio/__main__.py +++ b/Lib/asyncio/__main__.py @@ -116,7 +116,7 @@ def run(self): if err := check(): raise RuntimeError(err) except Exception as e: - console.interact(banner="", exitmsg=exit_message) + console.interact(banner="", exitmsg="") else: try: run_multiline_interactive_console(console=console)