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

Class A

Lib/test/support/__init__.py:2083–2090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2081 done = False
2082 def wrapper():
2083 class A(cls):
2084 def __del__(self):
2085 nonlocal done
2086 done = True
2087 try:
2088 next(it)
2089 except StopIteration:
2090 pass
2091
2092 it = iter(A(*args))
2093 # Issue 26494: Shouldn't crash

Callers 1

wrapperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected