diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-06-08 15:16:35 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-06-08 15:16:35 -0700 |
commit | 8dcf3979780819db9eb2fe912aa0275f7424d50e (patch) | |
tree | 5dc5f94dbe03d3b5b8f6d801f1cfd6e65257103a | |
parent | c113b0f63cb687bd642f8b5bf2cc1048df9832b0 (diff) | |
parent | 424d84bf6b18be1279d0bb3efefc33e637aad79b (diff) | |
download | numpy-8dcf3979780819db9eb2fe912aa0275f7424d50e.tar.gz |
Merge pull request #3407 from mrjbq7/doc-fixes
DOC: fix comments in min and ptp.
-rw-r--r-- | numpy/ma/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 38076e8b3..223f119b8 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -5937,7 +5937,7 @@ def min(obj, axis=None, out=None, fill_value=None): try: return obj.min(axis=axis, fill_value=fill_value, out=out) except (AttributeError, TypeError): - # If obj doesn't have a max method, + # If obj doesn't have a min method, # ...or if the method doesn't accept a fill_value argument return asanyarray(obj).min(axis=axis, fill_value=fill_value, out=out) min.__doc__ = MaskedArray.min.__doc__ @@ -5956,7 +5956,7 @@ def ptp(obj, axis=None, out=None, fill_value=None): try: return obj.ptp(axis, out=out, fill_value=fill_value) except (AttributeError, TypeError): - # If obj doesn't have a max method, + # If obj doesn't have a ptp method, # ...or if the method doesn't accept a fill_value argument return asanyarray(obj).ptp(axis=axis, fill_value=fill_value, out=out) ptp.__doc__ = MaskedArray.ptp.__doc__ |