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

Function _get_ignored_slots

mypy/server/astmerge.py:570–575  ·  view source on GitHub ↗
(node: SymbolNode)

Source from the content-addressed store, hash-verified

568
569
570def _get_ignored_slots(node: SymbolNode) -> tuple[str, ...]:
571 if isinstance(node, OverloadedFuncDef):
572 return ("setter",)
573 if isinstance(node, TypeInfo):
574 return ("special_alias",)
575 return ()

Callers 2

fixupMethod · 0.85

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…