gh-119909: Fix ``NameError`` in ``asyncio`` REPL (#121341)

This commit is contained in:
Kirill Podoprigora 2024-07-06 23:49:33 +03:00 committed by GitHub
parent 53e12025cd
commit 114389470e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class REPLThread(threading.Thread):
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)