Summary
from abc import ABC, ABCMeta
from typing import Protocol
a: ABCMeta
a = Protocol # Object of type `typing.Protocol` is not assignable to `ABCMeta`
a = ABC
ty in real life
class Interface(Protocol):
def f(self): ...
class Data(Enum, Interface): # runtime error
a = 1
def f(self): ...
Version
No response