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

Method get

Lib/multiprocessing/pool.py:767–774  ·  view source on GitHub ↗
(self, timeout=None)

Source from the content-addressed store, hash-verified

765 self._event.wait(timeout)
766
767 def get(self, timeout=None):
768 self.wait(timeout)
769 if not self.ready():
770 raise TimeoutError
771 if self._success:
772 return self._value
773 else:
774 raise self._value
775
776 def _set(self, i, obj):
777 self._success, self._value = obj

Callers 5

applyMethod · 0.45
mapMethod · 0.45
starmapMethod · 0.45
_wait_for_updatesMethod · 0.45
_help_stuff_finishMethod · 0.45

Calls 2

waitMethod · 0.95
readyMethod · 0.95

Tested by

no test coverage detected