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

Class RefCycle

Lib/test/test_weakset.py:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 pass
14
15class RefCycle:
16 def __init__(self):
17 self.cycle = self
18
19class WeakSetSubclass(WeakSet):
20 pass

Callers 2

test_len_cyclesMethod · 0.70
test_len_raceMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_len_cyclesMethod · 0.56
test_len_raceMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…