Debian Codegraph @

test-data/unit/lib-stub/abc.pyi

raw
1 from typing import Type, Any, TypeVar
2
3 T = TypeVar('T', bound=Type[Any])
4
5 class ABCMeta(type):
6 def register(cls, tp: T) -> T: pass
7 class ABC(metaclass=ABCMeta): pass
8 abstractmethod = object()
9 abstractproperty = object()