Skip to content

Commit 379048a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5f87a69 commit 379048a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def get_sequence_type_from_type(self, target_type: Type) -> RType:
991991
return self.get_sequence_type_from_type(target_type.upper_bound)
992992
elif isinstance(target_type, TupleType):
993993
items = target_type.items
994-
assert items, f"This function does not support empty tuples"
994+
assert items, "This function does not support empty tuples"
995995
# Tuple might have elements of different types.
996996
rtypes = set(map(self.mapper.type_to_rtype, items))
997997
if len(rtypes) == 1:

0 commit comments

Comments
 (0)