aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/__main__.py')
-rw-r--r--Lib/asyncio/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/__main__.py b/Lib/asyncio/__main__.py
index 21ca5c5f62a..ff3a69d1e17 100644
--- a/Lib/asyncio/__main__.py
+++ b/Lib/asyncio/__main__.py
@@ -64,7 +64,7 @@ class AsyncIOInteractiveConsole(InteractiveColoredConsole):
except BaseException as exc:
future.set_exception(exc)
- loop.call_soon_threadsafe(callback, context=self.context)
+ self.loop.call_soon_threadsafe(callback, context=self.context)
try:
return future.result()