summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-03-04 12:48:39 +0100
committerBas van Beek <b.f.van.beek@vu.nl>2021-03-04 12:48:50 +0100
commitc6bdbad5458c3b48ee92350fa0b723ee3b98743f (patch)
tree7d30dd5c285e6154f6a083169e0a67c11e6c111e
parent376ba3a9f50397dc94b98253980de0bf0ebc0b68 (diff)
downloadnumpy-c6bdbad5458c3b48ee92350fa0b723ee3b98743f.tar.gz
MAINT: Removed a redundant overload
-rw-r--r--numpy/__init__.pyi2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index 29e93526b..9cdc4f2e1 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -2227,8 +2227,6 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeType, _DType_co]):
@overload # type: ignore[misc]
def __isub__(self: _ArrayND[Any], other: _NestedSequence[str | bytes]) -> NoReturn: ...
@overload
- def __isub__(self: _ArrayND[bool_], other: _ArrayLikeBool_co) -> NoReturn: ...
- @overload
def __isub__(self: _ArrayND[unsignedinteger[_NBit1]], other: _ArrayLikeUInt_co) -> _ArrayND[unsignedinteger[_NBit1]]: ...
@overload
def __isub__(self: _ArrayND[signedinteger[_NBit1]], other: _ArrayLikeInt_co) -> _ArrayND[signedinteger[_NBit1]]: ...