Skip to content

Commit

Permalink
Fixes crash on Python3.10-beta.2 and [email protected] (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 30, 2021
1 parent ec052c3 commit c1cbcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typing_extensions/src_py3/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2392,7 +2392,7 @@ class _ConcatenateGenericAlias(list):

# Trick Generic into looking into this for __parameters__.
if PEP_560:
__class__ = _GenericAlias
__class__ = typing._GenericAlias
elif sys.version_info[:3] == (3, 5, 2):
__class__ = typing.TypingMeta
else:
Expand Down

0 comments on commit c1cbcac

Please sign in to comment.