Skip to content

Commit e820e2b

Browse files
committed
TYP: Remove redundant __str__ and __repr__ methods from _ArrayOrScalarCommon
1 parent 3a727ae commit e820e2b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

numpy/__init__.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,8 +1399,6 @@ class _ArrayOrScalarCommon:
13991399
def __bool__(self, /) -> builtins.bool: ...
14001400
def __int__(self, /) -> int: ...
14011401
def __float__(self, /) -> float: ...
1402-
def __str__(self) -> str: ...
1403-
def __repr__(self) -> str: ...
14041402
def __copy__(self) -> Self: ...
14051403
def __deepcopy__(self, memo: None | dict[int, Any], /) -> Self: ...
14061404

0 commit comments

Comments
 (0)