File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2493,7 +2493,7 @@ class TypeVarExpr(TypeVarLikeExpr):
2493
2493
2494
2494
__slots__ = ("values" ,)
2495
2495
2496
- __match_args__ = ("name" , "values" , "upper_bound" )
2496
+ __match_args__ = ("name" , "values" , "upper_bound" , "default" )
2497
2497
2498
2498
# Value restriction: only types in the list are valid as values. If the
2499
2499
# list is empty, there is no restriction.
@@ -2541,7 +2541,7 @@ def deserialize(cls, data: JsonDict) -> TypeVarExpr:
2541
2541
class ParamSpecExpr (TypeVarLikeExpr ):
2542
2542
__slots__ = ()
2543
2543
2544
- __match_args__ = ("name" , "upper_bound" )
2544
+ __match_args__ = ("name" , "upper_bound" , "default" )
2545
2545
2546
2546
def accept (self , visitor : ExpressionVisitor [T ]) -> T :
2547
2547
return visitor .visit_paramspec_expr (self )
@@ -2575,7 +2575,7 @@ class TypeVarTupleExpr(TypeVarLikeExpr):
2575
2575
2576
2576
tuple_fallback : mypy .types .Instance
2577
2577
2578
- __match_args__ = ("name" , "upper_bound" )
2578
+ __match_args__ = ("name" , "upper_bound" , "default" )
2579
2579
2580
2580
def __init__ (
2581
2581
self ,
You can’t perform that action at this time.
0 commit comments