Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Z
Class
Z
Lib/test/test_gc.py:1008–1010 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1006
self.me = self
1007
1008
class
Z(A):
# resurrecting __del__
1009
def
__del__(self):
1010
zs.append(self)
1011
1012
zs = []
1013
Callers
2
test_resurrection_does_not_block_cleanup_of_other_objects
Method · 0.70
test_trash_weakref_clear
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_resurrection_does_not_block_cleanup_of_other_objects
Method · 0.56
test_trash_weakref_clear
Method · 0.56