MCPcopy 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

startMethod · 0.95
EventMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected