Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __enter__
Method
__enter__
Lib/test/test_ssl.py:2650–2653 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2648
return
"<%s %s>"
% (self.__class__.__name__, self.server)
2649
2650
def
__enter__(self):
2651
self.start(threading.Event())
2652
self.flag.wait()
2653
return
self
2654
2655
def
__exit__(self, *args):
2656
if
support.verbose:
Callers
nothing calls this directly
Calls
3
start
Method · 0.95
Event
Method · 0.80
wait
Method · 0.45
Tested by
no test coverage detected