diff --git a/stdlib/_operator.pyi b/stdlib/_operator.pyi index 565bb41697f1..066a0a167c5b 100644 --- a/stdlib/_operator.pyi +++ b/stdlib/_operator.pyi @@ -132,7 +132,7 @@ def setitem(a: MutableSequence[_T], b: slice[int | None], c: Sequence[_T], /) -> @overload def setitem(a: MutableMapping[_K, _V], b: _K, c: _V, /) -> None: ... -def length_hint(obj: object, default: int = 0, /) -> int: ... +def length_hint(obj: object, default: SupportsIndex = 0, /) -> int: ... def iadd(a, b, /): ... def iand(a, b, /): ... def iconcat(a, b, /): ...