mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-06 09:57:41 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -7,12 +7,12 @@ def abstractmethod(funcobj: Any) -> Any: ...
|
||||
|
||||
class ABCMeta(type):
|
||||
# TODO: FrozenSet
|
||||
__abstractmethods__ = ... # type: Set[Any]
|
||||
_abc_cache = ... # type: _weakrefset.WeakSet
|
||||
_abc_invalidation_counter = ... # type: int
|
||||
_abc_negative_cache = ... # type: _weakrefset.WeakSet
|
||||
_abc_negative_cache_version = ... # type: int
|
||||
_abc_registry = ... # type: _weakrefset.WeakSet
|
||||
__abstractmethods__: Set[Any]
|
||||
_abc_cache: _weakrefset.WeakSet
|
||||
_abc_invalidation_counter: int
|
||||
_abc_negative_cache: _weakrefset.WeakSet
|
||||
_abc_negative_cache_version: int
|
||||
_abc_registry: _weakrefset.WeakSet
|
||||
def __init__(self, name: str, bases: Tuple[type, ...], namespace: Dict[Any, Any]) -> None: ...
|
||||
def __instancecheck__(cls: ABCMeta, instance: Any) -> Any: ...
|
||||
def __subclasscheck__(cls: ABCMeta, subclass: Any) -> Any: ...
|
||||
@@ -22,8 +22,8 @@ class ABCMeta(type):
|
||||
# TODO: The real abc.abstractproperty inherits from "property".
|
||||
class abstractproperty(object):
|
||||
def __new__(cls, func: Any) -> Any: ...
|
||||
__isabstractmethod__ = ... # type: bool
|
||||
doc = ... # type: Any
|
||||
fdel = ... # type: Any
|
||||
fget = ... # type: Any
|
||||
fset = ... # type: Any
|
||||
__isabstractmethod__: bool
|
||||
doc: Any
|
||||
fdel: Any
|
||||
fget: Any
|
||||
fset: Any
|
||||
|
||||
Reference in New Issue
Block a user