From d2a8d62a17073aee40f9163b16b05860a7f55ea5 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 19 Oct 2022 02:03:00 -0700 Subject: [PATCH] fix warning --- src/bigint_presentation_code/util.pyi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bigint_presentation_code/util.pyi b/src/bigint_presentation_code/util.pyi index 48445b1..6f12d4b 100644 --- a/src/bigint_presentation_code/util.pyi +++ b/src/bigint_presentation_code/util.pyi @@ -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: ... -- 2.30.2