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=0c95f7a3f01ae0eea31345c89e811874c5f105fe;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