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

Class HasAnyQuery

mypy/stats.py:456–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454
455
456class HasAnyQuery(BoolTypeQuery):
457 def __init__(self) -> None:
458 super().__init__(ANY_STRATEGY)
459
460 def visit_any(self, t: AnyType) -> bool:
461 return not is_special_form_any(t)
462
463
464def is_imprecise2(t: Type) -> bool:

Callers 1

is_impreciseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…