Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _create_async_exit_wrapper
Method
_create_async_exit_wrapper
Lib/contextlib.py:645–646 ·
view source on GitHub ↗
(cm, cm_exit)
Source
from the content-addressed store, hash-verified
643
644
@staticmethod
645
def
_create_async_exit_wrapper(cm, cm_exit):
646
return
MethodType(cm_exit, cm)
647
648
@staticmethod
649
def
_create_async_cb_wrapper(callback, /, *args, **kwds):
Callers
1
_push_async_cm_exit
Method · 0.95
Calls
1
MethodType
Function · 0.90
Tested by
no test coverage detected