[vlc-commits] commit: python bindings: fix docstrings (Olivier Aubert )
git at videolan.org
git at videolan.org
Mon Jul 19 12:09:07 CEST 2010
vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Jul 19 11:30:16 2010 +0200| [199579cf2a8b969ffc799fd5d7e58b5b6ae8c1e1] | committer: Olivier Aubert
python bindings: fix docstrings
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=199579cf2a8b969ffc799fd5d7e58b5b6ae8c1e1
---
override.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/override.py b/override.py
index 35fa75c..f8d5fe5 100644
--- a/override.py
+++ b/override.py
@@ -27,7 +27,7 @@ class Instance:
return libvlc_new(len(p), p)
def media_player_new(self, uri=None):
- """Create a new Media Player object.
+ """Create a new MediaPlayer instance.
@param uri: an optional URI to play in the player.
"""
@@ -38,14 +38,14 @@ class Instance:
return p
def media_list_player_new(self):
- """Create an empty Media Player object
+ """Create a new MediaListPlayer instance.
"""
p=libvlc_media_list_player_new(self)
p._instance=self
return p
def media_new(self, mrl, *options):
- """Create an empty Media Player object
+ """Create a new Media instance.
Options can be specified as supplementary string parameters, e.g.
m=i.media_new('foo.avi', 'sub-filter=marq{marquee=Hello}', 'vout-filter=invert')
More information about the vlc-commits
mailing list