From fff8f680ded76ec0535f6f49a5e5b226d9ebd505 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 3 Aug 2010 11:05:33 -0400 Subject: [PATCH] Add NoteIndexList.index() so other classes can avoid ._index --- hooke/playlist.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2