Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ A
Class
A
Lib/test/support/__init__.py:2013–2020 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2011
done = False
2012
def
wrapper():
2013
class
A(cls):
2014
def
__del__(self):
2015
nonlocal done
2016
done = True
2017
try
:
2018
next(it)
2019
except
StopIteration:
2020
pass
2021
2022
it = iter(A(*args))
2023
# Issue 26494: Shouldn't crash
Callers
1
wrapper
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected