Skip to content

Commit

Permalink
Change NDCollection repr to __str__.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRyanIrish committed Mar 26, 2020
1 parent d750792 commit 574ac39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndcube/ndcollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, key_data_pairs, aligned_axes=None, meta=None, **kwargs):
def _first_key(self):
return list(self.keys())[0]

def __repr__(self):
def __str__(self):
return (textwrap.dedent("""\
{object.__repr__(self)}
NDCollection
Expand Down

0 comments on commit 574ac39

Please sign in to comment.