Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ mro
Method
mro
Lib/test/test_descr.py:6051–6056 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
6049
""
"
6050
class
M(DebugHelperMeta):
6051
def
mro(cls):
6052
if
self.step_until(1):
6053
assert cls.__mro__ is None
6054
cls.__bases__ += ()
6055
6056
return
type.mro(cls)
6057
6058
class
A(metaclass=M):
6059
pass
Callers
10
__dir__
Method · 0.45
_extend_docstrings
Function · 0.45
__subclasscheck__
Method · 0.45
test_altmro
Method · 0.45
mro
Method · 0.45
mro
Method · 0.45
mro
Method · 0.45
test_pytype_long_ready
Method · 0.45
test_tp_subclasses_cycle_error_return_path
Method · 0.45
member_dir
Function · 0.45
Calls
3
super
Class · 0.85
step_until
Method · 0.80
assertRaises
Method · 0.45
Tested by
no test coverage detected