Skip to content

Commit

Permalink
Fix ticket numpy#408 --- chararray problem with argsort
Browse files Browse the repository at this point in the history
  • Loading branch information
teoliphant committed Dec 23, 2006
1 parent 32789fd commit 7729588
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/core/defchararray.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ def __mod__(self, other):
def __rmod__(self, other):
return NotImplemented

def argsort(self, axis=-1, kind='quicksort', order=None):
return self.__array__().argsort(axis, kind, order)

def _generalmethod(self, name, myiter):
res = [None]*myiter.size
maxsize = -1
Expand Down

0 comments on commit 7729588

Please sign in to comment.