diff options
author | John Benediktsson <mrjbq7@gmail.com> | 2013-06-06 08:28:40 -0700 |
---|---|---|
committer | John Benediktsson <mrjbq7@gmail.com> | 2013-06-06 08:28:40 -0700 |
commit | 424d84bf6b18be1279d0bb3efefc33e637aad79b (patch) | |
tree | c3eefcadc0f83e42e638fd22d8206a402b29e708 | |
parent | b5fd4296a21a7d580774996207d822200b893524 (diff) | |
download | numpy-424d84bf6b18be1279d0bb3efefc33e637aad79b.tar.gz |
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__ |