Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
851
def
get_match_arg_names(typ: TupleType) -> list[str | None]:
Callers
2
visit_sequence_pattern
Method · 0.95
visit_class_pattern
Method · 0.95
Calls
2
UninhabitedType
Class · 0.90
PatternType
Class · 0.85
Tested by
no test coverage detected