Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions stdlib/_operator.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,135 +43,135 @@ class _SupportsPos(Protocol[_T_co]):

@type_check_only
class _SupportsAnd(Protocol[_T_contra, _T_co]):
def __and__(self, other: _T_contra) -> _T_co: ...
def __and__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRAnd(Protocol[_T_contra, _T_co]):
def __rand__(self, other: _T_contra) -> _T_co: ...
def __rand__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsLShift(Protocol[_T_contra, _T_co]):
def __lshift__(self, other: _T_contra) -> _T_co: ...
def __lshift__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRLShift(Protocol[_T_contra, _T_co]):
def __rlshift__(self, other: _T_contra) -> _T_co: ...
def __rlshift__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRShift(Protocol[_T_contra, _T_co]):
def __rshift__(self, other: _T_contra) -> _T_co: ...
def __rshift__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRRShift(Protocol[_T_contra, _T_co]):
def __rrshift__(self, other: _T_contra) -> _T_co: ...
def __rrshift__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsTrueDiv(Protocol[_T_contra, _T_co]):
def __truediv__(self, other: _T_contra) -> _T_co: ...
def __truediv__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRTrueDiv(Protocol[_T_contra, _T_co]):
def __rtruediv__(self, other: _T_contra) -> _T_co: ...
def __rtruediv__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsFloorDiv(Protocol[_T_contra, _T_co]):
def __floordiv__(self, other: _T_contra) -> _T_co: ...
def __floordiv__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRFloorDiv(Protocol[_T_contra, _T_co]):
def __rfloordiv__(self, other: _T_contra) -> _T_co: ...
def __rfloordiv__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsMod(Protocol[_T_contra, _T_co]):
def __mod__(self, other: _T_contra) -> _T_co: ...
def __mod__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRMod(Protocol[_T_contra, _T_co]):
def __rmod__(self, other: _T_contra) -> _T_co: ...
def __rmod__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsMatMul(Protocol[_T_contra, _T_co]):
def __matmul__(self, other: _T_contra) -> _T_co: ...
def __matmul__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRMatMul(Protocol[_T_contra, _T_co]):
def __rmatmul__(self, other: _T_contra) -> _T_co: ...
def __rmatmul__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsOr(Protocol[_T_contra, _T_co]):
def __or__(self, other: _T_contra) -> _T_co: ...
def __or__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsROr(Protocol[_T_contra, _T_co]):
def __ror__(self, other: _T_contra) -> _T_co: ...
def __ror__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsPow(Protocol[_T_contra, _T_co]):
def __pow__(self, other: _T_contra) -> _T_co: ...
def __pow__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRPow(Protocol[_T_contra, _T_co]):
def __rpow__(self, other: _T_contra) -> _T_co: ...
def __rpow__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsXOr(Protocol[_T_contra, _T_co]):
def __xor__(self, other: _T_contra) -> _T_co: ...
def __xor__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsRXOr(Protocol[_T_contra, _T_co]):
def __rxor__(self, other: _T_contra) -> _T_co: ...
def __rxor__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIAdd(Protocol[_T_contra, _T_co]):
def __iadd__(self, other: _T_contra) -> _T_co: ...
def __iadd__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIAnd(Protocol[_T_contra, _T_co]):
def __iand__(self, other: _T_contra) -> _T_co: ...
def __iand__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsILShift(Protocol[_T_contra, _T_co]):
def __ilshift__(self, other: _T_contra) -> _T_co: ...
def __ilshift__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIMod(Protocol[_T_contra, _T_co]):
def __imod__(self, other: _T_contra) -> _T_co: ...
def __imod__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIMul(Protocol[_T_contra, _T_co]):
def __imul__(self, other: _T_contra) -> _T_co: ...
def __imul__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIMatMul(Protocol[_T_contra, _T_co]):
def __imatmul__(self, other: _T_contra) -> _T_co: ...
def __imatmul__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIOr(Protocol[_T_contra, _T_co]):
def __ior__(self, other: _T_contra) -> _T_co: ...
def __ior__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIPow(Protocol[_T_contra, _T_co]):
def __ipow__(self, other: _T_contra) -> _T_co: ...
def __ipow__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIRShift(Protocol[_T_contra, _T_co]):
def __irshift__(self, other: _T_contra) -> _T_co: ...
def __irshift__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsISub(Protocol[_T_contra, _T_co]):
def __isub__(self, other: _T_contra) -> _T_co: ...
def __isub__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsITrueDiv(Protocol[_T_contra, _T_co]):
def __itruediv__(self, other: _T_contra) -> _T_co: ...
def __itruediv__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIXOr(Protocol[_T_contra, _T_co]):
def __ixor__(self, other: _T_contra) -> _T_co: ...
def __ixor__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIFloorDiv(Protocol[_T_contra, _T_co]):
def __ifloordiv__(self, other: _T_contra) -> _T_co: ...
def __ifloordiv__(self, other: _T_contra, /) -> _T_co: ...

@type_check_only
class _SupportsIConcat(Protocol[_T_contra, _T_co]):
Expand Down
Loading