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

Method visit_Tuple

mypy/fastparse.py:2125–2132  ·  view source on GitHub ↗
(self, n: ast3.Tuple)

Source from the content-addressed store, hash-verified

2123 return self.invalid_type(n)
2124
2125 def visit_Tuple(self, n: ast3.Tuple) -> Type:
2126 return TupleType(
2127 self.translate_expr_list(n.elts),
2128 _dummy_fallback,
2129 implicit=True,
2130 line=self.line,
2131 column=self.convert_column(n.col_offset),
2132 )
2133
2134 def visit_Dict(self, n: ast3.Dict) -> Type:
2135 if not n.keys:

Callers

nothing calls this directly

Calls 3

translate_expr_listMethod · 0.95
convert_columnMethod · 0.95
TupleTypeClass · 0.90

Tested by

no test coverage detected