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

Method __init__

Lib/test/_test_multiprocessing.py:5131–5134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5129
5130 class Foo(object):
5131 def __init__(self):
5132 self.ref = self # create reference cycle
5133 # insert finalizer at random key
5134 util.Finalize(self, cb, exitpriority=random.randint(1, 100))
5135
5136 finish = False
5137 exc = None

Callers

nothing calls this directly

Calls 1

randintMethod · 0.80

Tested by

no test coverage detected