1 from typing import Any, Dict, Set, Tuple, Type
\r
4 # NOTE: mypy has special processing for ABCMeta and abstractmethod.
\r
6 def abstractmethod(funcobj: Any) -> Any: ...
\r
10 __abstractmethods__ = ... # type: Set[Any]
\r
11 _abc_cache = ... # type: _weakrefset.WeakSet
\r
12 _abc_invalidation_counter = ... # type: int
\r
13 _abc_negative_cache = ... # type: _weakrefset.WeakSet
\r
14 _abc_negative_cache_version = ... # type: int
\r
15 _abc_registry = ... # type: _weakrefset.WeakSet
\r
16 def __init__(self, name: str, bases: Tuple[type, ...], namespace: Dict[Any, Any]) -> None: ...
\r
17 def __instancecheck__(cls: "ABCMeta", instance: Any) -> Any: ...
\r
18 def __subclasscheck__(cls: "ABCMeta", subclass: Any) -> Any: ...
\r
19 def _dump_registry(cls: "ABCMeta", *args: Any, **kwargs: Any) -> None: ...
\r
20 def register(cls: "ABCMeta", subclass: Type[Any]) -> None: ...
\r
22 # TODO: The real abc.abstractproperty inherits from "property".
\r
23 class abstractproperty(object):
\r
24 def __new__(cls, func: Any) -> Any: ...
\r
25 __isabstractmethod__ = ... # type: bool
\r
26 doc = ... # type: Any
\r
27 fdel = ... # type: Any
\r
28 fget = ... # type: Any
\r
29 fset = ... # type: Any
\r