Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ U
Class
U
Lib/test/leakers/test_selftype.py:9–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
class
T(type):
8
pass
9
class
U(type, metaclass=T):
10
pass
11
U.__class__ = U
12
del U
13
gc.collect(); gc.collect(); gc.collect()
Callers
2
do_test_remove_with_clear
Method · 0.50
do_test_remove_with_mutate_root
Method · 0.50
Calls
no outgoing calls
Tested by
2
do_test_remove_with_clear
Method · 0.40
do_test_remove_with_mutate_root
Method · 0.40