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

Method visit_Tuple

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

Source from the content-addressed store, hash-verified

1749
1750 # Tuple(expr* elts, expr_context ctx)
1751 def visit_Tuple(self, n: ast3.Tuple) -> TupleExpr:
1752 e = TupleExpr(self.translate_expr_list(n.elts))
1753 return self.set_line(e, n)
1754
1755 # Slice(expr? lower, expr? upper, expr? step)
1756 def visit_Slice(self, n: ast3.Slice) -> SliceExpr:

Callers

nothing calls this directly

Calls 3

translate_expr_listMethod · 0.95
set_lineMethod · 0.95
TupleExprClass · 0.90

Tested by

no test coverage detected