Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ A
Class
A
Lib/test/test_gc.py:119–120 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
117
118
def
test_class(self):
119
class
A:
120
pass
121
A.a = A
122
gc.collect()
123
del A
Callers
10
test_instance
Method · 0.70
test_newinstance
Method · 0.70
test_method
Method · 0.70
test_legacy_finalizer
Method · 0.70
test_legacy_finalizer_newclass
Method · 0.70
test_del
Method · 0.70
test_del_newclass
Method · 0.70
do_work
Method · 0.70
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
10
test_instance
Method · 0.56
test_newinstance
Method · 0.56
test_method
Method · 0.56
test_legacy_finalizer
Method · 0.56
test_legacy_finalizer_newclass
Method · 0.56
test_del
Method · 0.56
test_del_newclass
Method · 0.56
do_work
Method · 0.56
test_resurrection_does_not_block_cleanup_of_other_objects
Method · 0.56
test_trash_weakref_clear
Method · 0.56