☰
Debian Codegraph
@
2.3.1-3
2.2.0-5
2.2.0-4
2.1.0-2
/
/
test-data
/
unit
/
lib-stub
/
abc.pyi
☽
☼
test-data/unit/lib-stub/abc.pyi
code
plain
raw
Expat
© 2015-2016 Jukka Lehtosalo and contributors
debian/copyright
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()