Add NoteIndexList.index() so other classes can avoid ._index
authorW. Trevor King <wking@drexel.edu>
Tue, 3 Aug 2010 15:05:33 +0000 (11:05 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 3 Aug 2010 15:05:33 +0000 (11:05 -0400)
hooke/playlist.py

index d39938d845a73b01a24cf47687ce9bb64cd3c142..ed05b35b85a1301368b0578295ee99fade21e20e 100644 (file)
@@ -52,6 +52,9 @@ class NoteIndexList (list):
         """
         pass
 
+    def index(self):
+        return self._index
+
     def current(self):
         if len(self) == 0:
             return None