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
The second-to-last line should probably be accepted by mypy, but it currently generates an error because Type[A] isn't compatible with the metaclass of M:
fromtypingimportTypeclassM(type): passclassA(metaclass=M): passa: Type[A] =Am: M=a# error, but should be okaym2: M=A# no error