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

Class Q

Lib/test/test_functools.py:2576–2578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2574 "or <class 'collections.abc.Container'>")),
2575 )
2576 class Q(c.Sized):
2577 def __len__(self):
2578 return 0
2579 q = Q()
2580 self.assertEqual(g(q), "sized")
2581 c.Iterable.register(Q)

Callers 1

test_mro_conflictsMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_mro_conflictsMethod · 0.56