vlc/python | branch: master | Geoff Salmon <[email protected]> | Sun Aug 14 11:52:20 2011 -0400| [07d22c05346177a0f7618b7358cc32d3618906ce] | committer: Olivier Aubert
Remove MediaList __len__ and __getitem__ overrides The __len__ and __getitem__ methods are already being generated so we don't need to override them. Signed-off-by: Olivier Aubert <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=07d22c05346177a0f7618b7358cc32d3618906ce --- override.py | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/override.py b/override.py index 6a71254..2d278e4 100644 --- a/override.py +++ b/override.py @@ -183,12 +183,6 @@ class MediaList: mrl = (self.get_instance() or get_default_instance()).media_new(mrl) return libvlc_media_list_add_media(self, mrl) - def __len__(self): - return self.count() - - def __getitem__(self, i): - return self.item_at_index(i) - class MediaPlayer: #PYCHOK expected (comment is lost) """Create a new MediaPlayer instance. _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
