diff options
author | Taneli Hukkinen <hukkinj1@users.noreply.github.com> | 2020-05-09 20:28:16 +0200 |
---|---|---|
committer | Yury Selivanov <yury@edgedb.com> | 2020-05-13 11:39:18 -0700 |
commit | e8fa7ac40dd080578e3f2215db977d3489e68ed4 (patch) | |
tree | f793c70e4e35f5c1b962ac9b61c0ac8ff0c7c189 | |
parent | 090f0e7c9324033630795ce5beb9fdde9dd89e9c (diff) | |
download | immutables-e8fa7ac40dd080578e3f2215db977d3489e68ed4.tar.gz immutables-e8fa7ac40dd080578e3f2215db977d3489e68ed4.zip |
Fix return type annotation of Map.__reduce__
-rw-r--r-- | immutables/_map.pyi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/immutables/_map.pyi b/immutables/_map.pyi index 863d911..c483f8f 100644 --- a/immutables/_map.pyi +++ b/immutables/_map.pyi @@ -43,7 +43,7 @@ class Map(Mapping[K, V]): def __init__( self, col: Union[Mapping[K, V], Iterable[Tuple[K, V]]] = ..., **kw: V ): ... - def __reduce__(self) -> NoReturn: ... + def __reduce__(self) -> Tuple[Type[Map], Tuple[dict]]: ... def __len__(self) -> int: ... def __eq__(self, other: Any) -> bool: ... def update( |