MCPcopy Index your code
hub / github.com/RustPython/RustPython / Circular

Class Circular

Lib/test/test_queue.py:1045–1050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043 # can be called any time the GC may run.
1044
1045 class Circular(object):
1046 def __init__(self):
1047 self.circular = self
1048
1049 def __del__(self):
1050 q.put(next(gen))
1051
1052 while True:
1053 o = Circular()

Callers 1

test_reentrancyMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_reentrancyMethod · 0.68