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

Class TupleExpr

mypy/nodes.py:2950–2966  ·  view source on GitHub ↗

Tuple literal expression (..., ...) Also lvalue sequences (..., ...) and [..., ...]

Source from the content-addressed store, hash-verified

2948
2949
2950class TupleExpr(Expression):
2951 """Tuple literal expression (..., ...)
2952
2953 Also lvalue sequences (..., ...) and [..., ...]"""
2954
2955 __slots__ = ("items",)
2956
2957 __match_args__ = ("items",)
2958
2959 items: list[Expression]
2960
2961 def __init__(self, items: list[Expression]) -> None:
2962 super().__init__()
2963 self.items = items
2964
2965 def accept(self, visitor: ExpressionVisitor[T]) -> T:
2966 return visitor.visit_tuple_expr(self)
2967
2968
2969class SetExpr(Expression):

Callers 6

visit_dict_exprMethod · 0.90
visit_DeleteMethod · 0.90
visit_ListMethod · 0.90
visit_TupleMethod · 0.90
visit_tuple_exprMethod · 0.90
read_expressionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…