Skip to content

Commit eecf9cb

Browse files
committed
Fixup
1 parent 2a8404b commit eecf9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typing_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ def get_origin(tp):
13751375
"""
13761376
if isinstance(tp, typing._AnnotatedAlias):
13771377
return Annotated
1378-
if isinstance(tp, ( typing._BaseGenericAlias,
1378+
if isinstance(tp, (typing._BaseGenericAlias, _types.GenericAlias,
13791379
ParamSpecArgs, ParamSpecKwargs)):
13801380
return tp.__origin__
13811381
if tp is typing.Generic:

0 commit comments

Comments
 (0)