diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2023-03-05 18:19:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 18:19:27 +0100 |
commit | 7617e0c9b808e389d5e0523fd066cacbacfb15a9 (patch) | |
tree | 2a788b810a3a3fff268b9443166bbbed02038e83 | |
parent | 02ef9c07ca7cc43617ba7b9db0c2185343d73650 (diff) | |
parent | d4c7c1367a4ca36c0047cd6a4e8fb9273ee557b4 (diff) | |
download | numpy-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.pyi | 4 |
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): ... |