Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_event_loop
Method
get_event_loop
Lib/test/test_asyncio/test_runners.py:28–30 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
self.loop = None
27
28
def
get_event_loop(self):
29
# shouldn't ever be called by asyncio.run()
30
raise
RuntimeError
31
32
def
new_event_loop(self):
33
return
self.loop_factory()
Callers
4
main
Method · 0.45
coro_runner
Method · 0.45
test_fork_not_share_event_loop
Method · 0.45
setUp
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected