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

Class C1055820

Lib/test/test_gc.py:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45# An instance of C1055820 has a self-loop, so becomes cyclic trash when
46# unreachable.
47class C1055820(object):
48 def __init__(self, i):
49 self.i = i
50 self.loop = self
51
52class GC_Detector(object):
53 # Create an instance I. Then gc hasn't happened again so long as

Callers 5

__init__Method · 0.85
test_bug1055820bMethod · 0.85
test_collect_garbageMethod · 0.85
test_bug1055820cMethod · 0.85
test_bug1055820dMethod · 0.85

Calls

no outgoing calls

Tested by 5

__init__Method · 0.68
test_bug1055820bMethod · 0.68
test_collect_garbageMethod · 0.68
test_bug1055820cMethod · 0.68
test_bug1055820dMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…