From 0c95f7a3f01ae0eea31345c89e811874c5f105fe 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