MCPcopy Index your code
hub / github.com/python/cpython / __enter__

Method __enter__

Lib/multiprocessing/pool.py:734–736  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

732 p.join()
733
734 def __enter__(self):
735 self._check_running()
736 return self
737
738 def __exit__(self, exc_type, exc_val, exc_tb):
739 self.terminate()

Callers

nothing calls this directly

Calls 1

_check_runningMethod · 0.95

Tested by

no test coverage detected