Skip to content

Commit 64a6f03

Browse files
black
1 parent ebc59ef commit 64a6f03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/checkpattern.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,7 @@ def visit_sequence_pattern(self, o: SequencePattern) -> PatternType:
271271
elif size_diff > 0 and star_position is None:
272272
continue
273273
elif not size_diff and star_position is not None:
274-
t_items.append(
275-
UninhabitedType()
276-
) # add additional item for star if its empty
274+
t_items.append(UninhabitedType())
277275
tuple_types.append(t_items)
278276
else:
279277
normalized_inner_types = []

0 commit comments

Comments
 (0)