Skip to content

Commit 11ce1a1

Browse files
committed
Merge branch 'master' into noinherit
2 parents 5299eee + 82a35c9 commit 11ce1a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎larray/core.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,12 @@ def __sub__(self, other):
596596
raise ValueError
597597

598598
def copy(self):
599+
#XXX: I wonder if we should make a copy of the labels
599600
return Axis(self.name, self.labels)
600601

601602
def sorted(self):
602603
res = self.copy()
604+
#FIXME: this probably also sorts the original axis !
603605
res.labels.sort()
604606
res._update_mapping()
605607
return res

0 commit comments

Comments
 (0)