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

Method __init__

Lib/multiprocessing/util.py:457–458  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

455
456class ForkAwareLocal(threading.local):
457 def __init__(self):
458 register_after_fork(self, lambda obj : obj.__dict__.clear())
459 def __reduce__(self):
460 return type(self), ()
461

Callers

nothing calls this directly

Calls 2

register_after_forkFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected