Address review feedback

This commit is contained in:
David Fisher
2016-03-11 16:01:30 -08:00
parent d390ef3161
commit 9f4a8d3df6
3 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Dict, Set, Union, Tuple, List
from typing import Any, Dict, Set, Union, Tuple
import _weakrefset
# mypy has special processing for ABCMeta and abstractmethod.
@@ -18,7 +18,7 @@ class ABCMeta(type):
_abc_negative_cache = ... # type: _weakrefset.WeakSet
_abc_negative_cache_version = ... # type: int
_abc_registry = ... # type: _weakrefset.WeakSet
def __init__(self, name: str, bases: List[type], namespace: Dict[Any, Any]) -> None: ...
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: ...
def _dump_registry(cls: "ABCMeta", *args: Any, **kwargs: Any) -> None: ...