From: W. Trevor King Date: Tue, 3 Aug 2010 15:05:33 +0000 (-0400) Subject: Add NoteIndexList.index() so other classes can avoid ._index X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fff8f680ded76ec0535f6f49a5e5b226d9ebd505;p=hooke.git Add NoteIndexList.index() so other classes can avoid ._index --- diff --git a/hooke/playlist.py b/hooke/playlist.py index d39938d..ed05b35 100644 --- a/hooke/playlist.py +++ b/hooke/playlist.py @@ -52,6 +52,9 @@ class NoteIndexList (list): """ pass + def index(self): + return self._index + def current(self): if len(self) == 0: return None