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

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)