Skip to content

Commit 61ace76

Browse files
committed
[_operator] Remove Anys that can be improved
1 parent 8bf7900 commit 61ace76

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

stdlib/_operator.pyi

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,24 @@ def truth(a: object, /) -> bool: ...
5858
def is_(a: object, b: object, /) -> bool: ...
5959
def is_not(a: object, b: object, /) -> bool: ...
6060
def abs(a: SupportsAbs[_T], /) -> _T: ...
61-
def add(a: Any, b: Any, /) -> Any: ...
62-
def and_(a: Any, b: Any, /) -> Any: ...
63-
def floordiv(a: Any, b: Any, /) -> Any: ...
61+
def add(a, b, /): ...
62+
def and_(a, b, /): ...
63+
def floordiv(a, b, /): ...
6464
def index(a: SupportsIndex, /) -> int: ...
6565
def inv(a: _SupportsInversion[_T_co], /) -> _T_co: ...
6666
def invert(a: _SupportsInversion[_T_co], /) -> _T_co: ...
67-
def lshift(a: Any, b: Any, /) -> Any: ...
68-
def mod(a: Any, b: Any, /) -> Any: ...
69-
def mul(a: Any, b: Any, /) -> Any: ...
70-
def matmul(a: Any, b: Any, /) -> Any: ...
67+
def lshift(a, b, /): ...
68+
def mod(a, b, /): ...
69+
def mul(a, b, /): ...
70+
def matmul(a, b, /): ...
7171
def neg(a: _SupportsNeg[_T_co], /) -> _T_co: ...
72-
def or_(a: Any, b: Any, /) -> Any: ...
72+
def or_(a, b, /): ...
7373
def pos(a: _SupportsPos[_T_co], /) -> _T_co: ...
74-
def pow(a: Any, b: Any, /) -> Any: ...
75-
def rshift(a: Any, b: Any, /) -> Any: ...
76-
def sub(a: Any, b: Any, /) -> Any: ...
77-
def truediv(a: Any, b: Any, /) -> Any: ...
78-
def xor(a: Any, b: Any, /) -> Any: ...
74+
def pow(a, b, /): ...
75+
def rshift(a, b, /): ...
76+
def sub(a, b, /): ...
77+
def truediv(a, b, /): ...
78+
def xor(a, b, /): ...
7979
def concat(a: Sequence[_T], b: Sequence[_T], /) -> Sequence[_T]: ...
8080
def contains(a: Container[object], b: object, /) -> bool: ...
8181
def countOf(a: Iterable[object], b: object, /) -> int: ...
@@ -97,20 +97,20 @@ def setitem(a: MutableSequence[_T], b: slice[int | None], c: Sequence[_T], /) ->
9797
@overload
9898
def setitem(a: MutableMapping[_K, _V], b: _K, c: _V, /) -> None: ...
9999
def length_hint(obj: object, default: int = 0, /) -> int: ...
100-
def iadd(a: Any, b: Any, /) -> Any: ...
101-
def iand(a: Any, b: Any, /) -> Any: ...
102-
def iconcat(a: Any, b: Any, /) -> Any: ...
103-
def ifloordiv(a: Any, b: Any, /) -> Any: ...
104-
def ilshift(a: Any, b: Any, /) -> Any: ...
105-
def imod(a: Any, b: Any, /) -> Any: ...
106-
def imul(a: Any, b: Any, /) -> Any: ...
107-
def imatmul(a: Any, b: Any, /) -> Any: ...
108-
def ior(a: Any, b: Any, /) -> Any: ...
109-
def ipow(a: Any, b: Any, /) -> Any: ...
110-
def irshift(a: Any, b: Any, /) -> Any: ...
111-
def isub(a: Any, b: Any, /) -> Any: ...
112-
def itruediv(a: Any, b: Any, /) -> Any: ...
113-
def ixor(a: Any, b: Any, /) -> Any: ...
100+
def iadd(a, b, /): ...
101+
def iand(a, b, /): ...
102+
def iconcat(a, b, /): ...
103+
def ifloordiv(a, b, /): ...
104+
def ilshift(a, b, /): ...
105+
def imod(a, b, /): ...
106+
def imul(a, b, /): ...
107+
def imatmul(a, b, /): ...
108+
def ior(a, b, /): ...
109+
def ipow(a, b, /): ...
110+
def irshift(a, b, /): ...
111+
def isub(a, b, /): ...
112+
def itruediv(a, b, /): ...
113+
def ixor(a, b, /): ...
114114

115115
if sys.version_info >= (3, 11):
116116
def call(obj: Callable[_P, _R], /, *args: _P.args, **kwargs: _P.kwargs) -> _R: ...

0 commit comments

Comments
 (0)