You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a needed for <3.11 when e.g. using class Bar(Generic[typing_extensions.Unpack[Ts]]) to be compatible with <3.11 typingisinstance(typing_extensions.Unpack[...], TypeVar) check during Generic.__class_getitem__.
I think for 3.11 we could safely remove the changed attribute from the backport.
Is there a reason to have the
__class__
attribute of the_UnpackAlias
class set totyping.TypeVar
?typing_extensions/src/typing_extensions.py
Lines 2659 to 2660 in 3f47bf9
It doesn't seem to be present on
typing
.The text was updated successfully, but these errors were encountered: