fix warning
authorJacob Lifshay <programmerjake@gmail.com>
Wed, 19 Oct 2022 09:03:00 +0000 (02:03 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Wed, 19 Oct 2022 09:03:00 +0000 (02:03 -0700)
src/bigint_presentation_code/util.pyi

index 48445b1ef056f333fcded91c371a2230be69c2bf..6f12d4b971fae32b9ea8f0377a6fe6e5204e675b 100644 (file)
@@ -58,9 +58,11 @@ class OSet(MutableSet[_T]):
 class FMap(Mapping[_T, _T_co]):
     """ordered frozen hashable mapping"""
     @overload
-    def __init__(self, items: Mapping[_T, _T_co] = ...): ...
+    def __init__(self, items: Mapping[_T, _T_co]): ...
     @overload
-    def __init__(self, items: Iterable[tuple[_T, _T_co]] = ...): ...
+    def __init__(self, items: Iterable[tuple[_T, _T_co]]): ...
+    @overload
+    def __init__(self): ...
 
     def __getitem__(self, item: _T) -> _T_co:
         ...