summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
authorpierregm <pierregm@localhost>2010-01-06 08:38:14 +0000
committerpierregm <pierregm@localhost>2010-01-06 08:38:14 +0000
commitd24bb94187bcba39911a93aa76582e02cfef5e20 (patch)
tree9021003bbb0dd60a73a2327ff965a0931075c8e5 /numpy/ma/core.py
parent4717bd039c85c36ac173dec6e772d2c5531735c7 (diff)
downloadnumpy-d24bb94187bcba39911a93aa76582e02cfef5e20.tar.gz
* Switch the order of optional parameters in ma.argsort for compatibiity w/ np.argsort (bug #1349)
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index de8512831..bb013ef5e 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -4743,8 +4743,7 @@ class MaskedArray(ndarray):
round.__doc__ = ndarray.round.__doc__
#............................................
- def argsort(self, axis=None, fill_value=None, kind='quicksort',
- order=None):
+ def argsort(self, axis=None, kind='quicksort', order=None, fill_value=None):
"""
Return an ndarray of indices that sort the array along the
specified axis. Masked values are filled beforehand to