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

Method _check_running

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

Source from the content-addressed store, hash-verified

349 self._quick_get = self._outqueue._reader.recv
350
351 def _check_running(self):
352 if self._state != RUN:
353 raise ValueError("Pool not running")
354
355 def apply(self, func, args=(), kwds={}):
356 '''

Callers 5

imapMethod · 0.95
imap_unorderedMethod · 0.95
apply_asyncMethod · 0.95
_map_asyncMethod · 0.95
__enter__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected