Skip to content

Commit bb0ad9b

Browse files
committed
Address code review
1 parent da0d060 commit bb0ad9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def _paramspec_prepare_subst(self, alias, args):
11241124
elif isinstance(args[i], list):
11251125
args = (*args[:i], tuple(args[i]), *args[i+1:])
11261126
else:
1127-
args = (*args[:i], args[i], *args[i + 1:])
1127+
args = tuple(args)
11281128
return args
11291129

11301130

0 commit comments

Comments
 (0)