Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ X
Class
X
Lib/test/test_descr.py:6216–6217 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6214
if
cls.__mro__ is None and cls.__name__ !=
'X'
:
6215
with
self.assertRaises(TypeError):
6216
class
X(cls):
6217
pass
6218
6219
return
type.mro(cls)
6220
Callers
6
test_slots
Method · 0.70
test_altmro
Method · 0.70
test_special_method_lookup
Method · 0.70
test_set_and_no_get
Method · 0.70
test_mixing_slot_wrappers
Method · 0.70
test_cycle_through_dict
Method · 0.70
Calls
no outgoing calls
Tested by
6
test_slots
Method · 0.56
test_altmro
Method · 0.56
test_special_method_lookup
Method · 0.56
test_set_and_no_get
Method · 0.56
test_mixing_slot_wrappers
Method · 0.56
test_cycle_through_dict
Method · 0.56