massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / abc.pyi
1 from typing import Any, Callable, Type, TypeVar\r
2 # Stubs for abc.\r
3 \r
4 _T = TypeVar('_T')\r
5 _FuncT = TypeVar('_FuncT', bound=Callable[..., Any])\r
6 \r
7 # Thesee definitions have special processing in mypy\r
8 class ABCMeta(type):\r
9     def register(cls: "ABCMeta", subclass: Type[_T]) -> Type[_T]: ...\r
10 \r
11 def abstractmethod(callable: _FuncT) -> _FuncT: ...\r
12 class abstractproperty(property): ...\r
13 # These two are deprecated and not supported by mypy\r
14 def abstractstaticmethod(callable: _FuncT) -> _FuncT: ...\r
15 def abstractclassmethod(callable: _FuncT) -> _FuncT: ...\r
16 \r
17 class ABC(metaclass=ABCMeta): ...\r
18 \r
19 def get_cache_token() -> object: ...\r