From: Jacob Lifshay Date: Wed, 19 Oct 2022 09:03:00 +0000 (-0700) Subject: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2a8d62a17073aee40f9163b16b05860a7f55ea5;p=bigint-presentation-code.git fix warning --- 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: ...