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