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

Method check_mapping_then_sequence

Lib/test/test_patma.py:39–44  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

37
38 @staticmethod
39 def check_mapping_then_sequence(x):
40 match x:
41 case {}:
42 return "map"
43 case [*_]:
44 return "seq"
45
46 def test_multiple_inheritance_mapping(self):
47 class C:

Calls

no outgoing calls

Tested by

no test coverage detected