We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf9411 commit 7972967Copy full SHA for 7972967
stdlib/_operator.pyi
@@ -65,7 +65,24 @@ def index(a: SupportsIndex, /) -> int: ...
65
def inv(a: _SupportsInversion[_T_co], /) -> _T_co: ...
66
def invert(a: _SupportsInversion[_T_co], /) -> _T_co: ...
67
def lshift(a: Any, b: Any, /) -> Any: ...
68
-def mod(a: Any, b: Any, /) -> Any: ...
+@overload
69
+def mod(a: bool, b: bool, /) -> int: ...
70
71
+def mod(a: bool, b: int, /) -> int: ...
72
73
+def mod(a: bool, b: float, /) -> float: ...
74
75
+def mod(a: int, b: bool, /) -> int: ...
76
77
+def mod(a: int, b: int, /) -> int: ...
78
79
+def mod(a: int, b: float, /) -> float: ...
80
81
+def mod(a: float, b: bool, /) -> float: ...
82
83
+def mod(a: float, b: int, /) -> float: ...
84
85
+def mod(a: float, b: float, /) -> float: ...
86
def mul(a: Any, b: Any, /) -> Any: ...
87
def matmul(a: Any, b: Any, /) -> Any: ...
88
def neg(a: _SupportsNeg[_T_co], /) -> _T_co: ...
0 commit comments