Skip to content
Merged
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
20 changes: 10 additions & 10 deletions pytools/obj_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,55 +203,55 @@ def __add__(self, other: Self, /) -> Self: ...
@overload
def __add__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __add__(self, other: float, /) -> Self: ...
def __add__(self, other: complex, /) -> Self: ...
@overload
def __radd__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __radd__(self, other: float, /) -> Self: ...
def __radd__(self, other: complex, /) -> Self: ...

@overload
def __sub__(self, other: Self, /) -> Self: ...
@overload
def __sub__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __sub__(self, other: float, /) -> Self: ...
def __sub__(self, other: complex, /) -> Self: ...
@overload
def __rsub__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __rsub__(self, other: float, /) -> Self: ...
def __rsub__(self, other: complex, /) -> Self: ...

@overload
def __mul__(self, other: Self, /) -> Self: ...
@overload
def __mul__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __mul__(self, other: float, /) -> Self: ...
def __mul__(self, other: complex, /) -> Self: ...
@overload
def __rmul__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __rmul__(self, other: float, /) -> Self: ...
def __rmul__(self, other: complex, /) -> Self: ...

@overload
def __truediv__(self, other: Self, /) -> Self: ...
@overload
def __truediv__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __truediv__(self, other: float, /) -> Self: ...
def __truediv__(self, other: complex, /) -> Self: ...
@overload
def __rtruediv__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __rtruediv__(self, other: float, /) -> Self: ...
def __rtruediv__(self, other: complex, /) -> Self: ...

@overload
def __pow__(self, other: Self, /) -> Self: ...
@overload
def __pow__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __pow__(self, other: float, /) -> Self: ...
def __pow__(self, other: complex, /) -> Self: ...
@overload
def __rpow__(self, other: T, /) -> Self: ... # pyright: ignore[reportGeneralTypeIssues]
@overload
def __rpow__(self, other: float, /) -> Self: ...
def __rpow__(self, other: complex, /) -> Self: ...

@overload
def __matmul__(
Expand Down
Loading