MCPcopy Index your code
hub / github.com/python/mypy / early_non_match

Method early_non_match

mypy/checkpattern.py:847–848  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

845 return sequence
846
847 def early_non_match(self) -> PatternType:
848 return PatternType(UninhabitedType(), self.type_context[-1], {})
849
850
851def get_match_arg_names(typ: TupleType) -> list[str | None]:

Callers 2

visit_class_patternMethod · 0.95

Calls 2

UninhabitedTypeClass · 0.90
PatternTypeClass · 0.85

Tested by

no test coverage detected