MCPcopy Create free account
hub / github.com/ActiveState/code / get

Method get

recipes/Python/576576_Thread_Pool/recipe-576576.py:22–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 for i in xrange(len(self.workers)-newSize):
21 self.jobs.put((None, None, None, None))
22 def get(self):
23 return len(self.workers)
24 return get, set
25 def add(self, job, callback=None, *args, **kw):
26 if self.accept:

Callers 14

__init__Method · 0.45
recordtypeFunction · 0.45
__new__Method · 0.45
_pool_workMethod · 0.45
wrapperFunction · 0.45
recipe-576370.pyFile · 0.45
rgb_stackFunction · 0.45
fetchMethod · 0.45
_pullMethod · 0.45
__enter__Method · 0.45
recipe-576729.pyFile · 0.45
propFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_getMethod · 0.36