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

Class P

Lib/test/test_functools.py:2560–2561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2558 self.assertEqual(g(o), "set") # because c.Set is a subclass of
2559 # c.Sized and c.Container
2560 class P:
2561 pass
2562 p = P()
2563 self.assertEqual(g(p), "base")
2564 c.Iterable.register(P)

Callers 1

test_mro_conflictsMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_mro_conflictsMethod · 0.56