From e8fa7ac40dd080578e3f2215db977d3489e68ed4 Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen Date: Sat, 9 May 2020 20:28:16 +0200 Subject: Fix return type annotation of Map.__reduce__ --- immutables/_map.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3