Skip to content

Commit 53cd7a0

Browse files
committed
TYP: positional-only binop parameters in numpy.flatiter
1 parent a6f4968 commit 53cd7a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -975,8 +975,8 @@ class _ArrayOrScalarCommon:
975975

976976
# TODO: How to deal with the non-commutative nature of `==` and `!=`?
977977
# xref numpy/numpy#17368
978-
def __eq__(self, other: Any) -> Any: ...
979-
def __ne__(self, other: Any) -> Any: ...
978+
def __eq__(self, other: Any, /) -> Any: ...
979+
def __ne__(self, other: Any, /) -> Any: ...
980980
def copy(self: _ArraySelf, order: _OrderKACF = ...) -> _ArraySelf: ...
981981
def dump(self, file: str | bytes | os.PathLike[str] | os.PathLike[bytes] | _SupportsWrite[bytes]) -> None: ...
982982
def dumps(self) -> bytes: ...

0 commit comments

Comments
 (0)