Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __enter__
Method
__enter__
Lib/asyncio/runners.py:58–60 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
56
self._set_event_loop = False
57
58
def
__enter__(self):
59
self._lazy_init()
60
return
self
61
62
def
__exit__(self, exc_type, exc_val, exc_tb):
63
self.close()
Callers
nothing calls this directly
Calls
1
_lazy_init
Method · 0.95
Tested by
no test coverage detected