Skip to content

Commit

Permalink
revert string representation
Browse files Browse the repository at this point in the history
now show the repr of the nparray object rather than the string representation of the np array
  • Loading branch information
kecnry committed Jun 18, 2017
1 parent 2107f1d commit f6e03f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nparray/nparray.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ def __repr__(self):
descriptors = " ".join(["{}={}".format(k,v) for k,v in self._descriptors.items()])
return "<{} {}>".format(self.__class__.__name__.lower(), descriptors)

def __str__(self):
return self.array.__str__()
# def __str__(self):
# return self.array.__str__()

def __copy__(self):
return self.__class__(**self._descriptors)
Expand Down

0 comments on commit f6e03f9

Please sign in to comment.