MCPcopy Index your code
hub / github.com/python/cpython / mro

Method mro

Lib/test/test_descr.py:4452–4457  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4450
4451 class WorkAlways(type):
4452 def mro(self):
4453 # this is here to make sure that .mro()s aren't called
4454 # with an exception set (which was possible at one point).
4455 # An error message will be printed in a debug build.
4456 # What's a good way to test for this?
4457 return type.mro(self)
4458
4459 class C(object):
4460 pass

Callers

nothing calls this directly

Calls 1

mroMethod · 0.45

Tested by

no test coverage detected