Skip to content

Commit c1cbcac

Browse files
authored
Fixes crash on Python3.10-beta.2 and [email protected] (#869)
1 parent ec052c3 commit c1cbcac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typing_extensions/src_py3/typing_extensions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,7 @@ class _ConcatenateGenericAlias(list):
23922392

23932393
# Trick Generic into looking into this for __parameters__.
23942394
if PEP_560:
2395-
__class__ = _GenericAlias
2395+
__class__ = typing._GenericAlias
23962396
elif sys.version_info[:3] == (3, 5, 2):
23972397
__class__ = typing.TypingMeta
23982398
else:

0 commit comments

Comments
 (0)