Skip to content

Commit e2b6af2

Browse files
Update checkexpr.py
1 parent c04ca5c commit e2b6af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4495,7 +4495,7 @@ def min_tuple_length(self, left: TupleType) -> int:
44954495
return left.length() - 1 + unpack.type.min_len
44964496
return left.length() - 1
44974497

4498-
def static_index_range_check(self, left_type: Type, e: IndexExpr, index: Expression):
4498+
def static_index_range_check(self, left_type: Type, e: IndexExpr, index: Expression) -> None:
44994499
if isinstance(left_type, Instance) and left_type.type.fullname in (
45004500
"builtins.list",
45014501
"builtins.tuple",

0 commit comments

Comments
 (0)