Added missing type annotations and type arguments (#5070)

Co-authored-by: Eric Traut <erictr@microsoft.com>
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
This commit is contained in:
Eric Traut
2021-02-25 15:09:58 -08:00
committed by GitHub
co-authored by Eric Traut Shantanu
parent bf583da275
commit 4b4ced5fa0
16 changed files with 62 additions and 62 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ _VT = TypeVar("_VT")
class frozendict(Mapping[_KT, _VT], Generic[_KT, _VT]):
dict_cls: Type[Dict] = ...
dict_cls: Type[Dict[Any, Any]] = ...
@overload
def __init__(self, **kwargs: _VT) -> None: ...
@overload
@@ -22,6 +22,6 @@ class frozendict(Mapping[_KT, _VT], Generic[_KT, _VT]):
def __repr__(self) -> str: ...
def __hash__(self) -> int: ...
class FrozenOrderedDict(frozendict):
class FrozenOrderedDict(frozendict[_KT, _VT]):
dict_cls: Type[collections.OrderedDict] = ...
dict_cls: Type[collections.OrderedDict[Any, Any]] = ...