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

Method visit_Name

mypy/fastparse.py:2024–2025  ·  view source on GitHub ↗
(self, n: Name)

Source from the content-addressed store, hash-verified

2022 return None
2023
2024 def visit_Name(self, n: Name) -> Type:
2025 return UnboundType(n.id, line=self.line, column=self.convert_column(n.col_offset))
2026
2027 def visit_BinOp(self, n: ast3.BinOp) -> Type:
2028 if not isinstance(n.op, ast3.BitOr):

Callers

nothing calls this directly

Calls 2

convert_columnMethod · 0.95
UnboundTypeClass · 0.90

Tested by

no test coverage detected