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

Class HasPlaceholders

mypy/semanal_shared.py:367–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365
366
367class HasPlaceholders(BoolTypeQuery):
368 def __init__(self) -> None:
369 super().__init__(ANY_STRATEGY)
370
371 def visit_placeholder_type(self, t: PlaceholderType) -> bool:
372 return True
373
374
375def has_placeholder(typ: Type) -> bool:

Callers 1

has_placeholderFunction · 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…