diff options
author | Bartosz Sławecki <bartoszpiotrslawecki@gmail.com> | 2025-02-24 15:50:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 15:50:13 +0100 |
commit | 7ed3dc6392613832f66c63507385b1da109cbf21 (patch) | |
tree | b703117da51c68792aa43e108a3cd8994d9e0429 /Lib/asyncio/__main__.py | |
parent | 9f25c1f012c8d432a93bf2dcad5f19a64dc00d3c (diff) | |
download | cpython-7ed3dc6392613832f66c63507385b1da109cbf21.tar.gz cpython-7ed3dc6392613832f66c63507385b1da109cbf21.zip |
gh-128231: Use `runcode()` return value for failing early (GH-129488)
Diffstat (limited to 'Lib/asyncio/__main__.py')
-rw-r--r-- | Lib/asyncio/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/__main__.py b/Lib/asyncio/__main__.py index 662ba649aa0..e624f7632be 100644 --- a/Lib/asyncio/__main__.py +++ b/Lib/asyncio/__main__.py @@ -75,7 +75,7 @@ class AsyncIOInteractiveConsole(InteractiveColoredConsole): self.write("\nKeyboardInterrupt\n") else: self.showtraceback() - + return self.STATEMENT_FAILED class REPLThread(threading.Thread): |