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

Method __init__

Lib/test/test_gc.py:74–78  ·  view source on GitHub ↗
(self, partner=None)

Source from the content-addressed store, hash-verified

72 cycle have __del__ methods, the gc refuses to guess an order,
73 and leaves the cycle uncollected."""
74 def __init__(self, partner=None):
75 if partner is None:
76 self.partner = Uncollectable(partner=self)
77 else:
78 self.partner = partner
79 def __tp_del__(self):
80 pass
81

Callers

nothing calls this directly

Calls 1

UncollectableClass · 0.85

Tested by

no test coverage detected