MCPcopy 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_docstringsFunction · 0.45
__subclasscheck__Method · 0.45
test_altmroMethod · 0.45
mroMethod · 0.45
mroMethod · 0.45
mroMethod · 0.45
member_dirFunction · 0.45

Calls 3

superClass · 0.85
step_untilMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected