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

Method __mro_entries__

Lib/test/test_genericclass.py:11–13  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

9 class B: ...
10 class C:
11 def __mro_entries__(self, *args, **kwargs):
12 tested.extend([args, kwargs])
13 return (C,)
14 c = C()
15 self.assertEqual(tested, [])
16 class D(B, c): ...

Callers 1

test_c_classMethod · 0.45

Calls 2

extendMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected