diff --git a/stdlib/_operator.pyi b/stdlib/_operator.pyi index c36077673..12fabd9be 100644 --- a/stdlib/_operator.pyi +++ b/stdlib/_operator.pyi @@ -48,7 +48,7 @@ def abs(__a: SupportsAbs[_T]) -> _T: ... def add(__a: Any, __b: Any) -> Any: ... def and_(__a: Any, __b: Any) -> Any: ... def floordiv(__a: Any, __b: Any) -> Any: ... -def index(__a: Any) -> int: ... +def index(__a: SupportsIndex) -> int: ... def inv(__a: _SupportsInversion[_T_co]) -> _T_co: ... def invert(__a: _SupportsInversion[_T_co]) -> _T_co: ... def lshift(__a: Any, __b: Any) -> Any: ...