We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f38602 commit ad2a2b9Copy full SHA for ad2a2b9
1 file changed
mypy/expandtype.py
@@ -322,8 +322,7 @@ def _possible_callable_varargs(
322
elif kind.is_positional():
323
optional_posargs.append(type)
324
elif kind == ArgKind.ARG_STAR:
325
- # UnpackType cannot be aliased
326
- if isinstance(type, ProperType) and isinstance(type, UnpackType):
+ if isinstance(type, UnpackType):
327
328
else:
329
optional_posargs.append(UnpackType(Instance(tuple_type.type, [type])))
0 commit comments