We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
self.loop
loop
1 parent 797abd1 commit 77fa7a4Copy full SHA for 77fa7a4
1 file changed
Lib/asyncio/__main__.py
@@ -64,7 +64,7 @@ def callback():
64
except BaseException as exc:
65
future.set_exception(exc)
66
67
- loop.call_soon_threadsafe(callback, context=self.context)
+ self.loop.call_soon_threadsafe(callback, context=self.context)
68
69
try:
70
return future.result()
0 commit comments