summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2023-03-05 18:19:27 +0100
committerGitHub <noreply@github.com>2023-03-05 18:19:27 +0100
commit7617e0c9b808e389d5e0523fd066cacbacfb15a9 (patch)
tree2a788b810a3a3fff268b9443166bbbed02038e83
parent02ef9c07ca7cc43617ba7b9db0c2185343d73650 (diff)
parentd4c7c1367a4ca36c0047cd6a4e8fb9273ee557b4 (diff)
downloadnumpy-7617e0c9b808e389d5e0523fd066cacbacfb15a9.tar.gz
Merge pull request #23328 from hawkinsp/macomp
TYP: Add type annotations for comparison operators to MaskedArray.
-rw-r--r--numpy/ma/core.pyi4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/ma/core.pyi b/numpy/ma/core.pyi
index 58d73a231..15f37c422 100644
--- a/numpy/ma/core.pyi
+++ b/numpy/ma/core.pyi
@@ -219,6 +219,10 @@ class MaskedArray(ndarray[_ShapeType, _DType_co]):
def compress(self, condition, axis=..., out=...): ...
def __eq__(self, other): ...
def __ne__(self, other): ...
+ def __ge__(self, other): ...
+ def __gt__(self, other): ...
+ def __le__(self, other): ...
+ def __lt__(self, other): ...
def __add__(self, other): ...
def __radd__(self, other): ...
def __sub__(self, other): ...