blob: e60f709a51874e6936cf2f469e9beb59494589a1 [file] [log] [blame] [edit]
from typing import Type, Any, TypeVar
T = TypeVar('T', bound=Type[Any])
class ABCMeta(type):
def register(cls, tp: T) -> T: pass
class ABC(metaclass=ABCMeta): pass
abstractmethod = object()
abstractproperty = object()