[vlc-devel] commit: python-ctypes: fix docstrings (Olivier Aubert )
git version control
git at videolan.org
Fri Jul 31 17:30:11 CEST 2009
vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Jul 31 17:29:26 2009 +0200| [8994bf8f66df978194d2f17d363702b2bf9ca928] | committer: Olivier Aubert
python-ctypes: fix docstrings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8994bf8f66df978194d2f17d363702b2bf9ca928
---
bindings/python-ctypes/override.py | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/bindings/python-ctypes/override.py b/bindings/python-ctypes/override.py
index 92da39b..0bd39ca 100644
--- a/bindings/python-ctypes/override.py
+++ b/bindings/python-ctypes/override.py
@@ -2,10 +2,10 @@ class Instance:
"""Create a new Instance instance.
It may take as parameter either:
- * a string
- * a list of strings as first parameters
- * the parameters given as the constructor parameters (must be strings)
- * a MediaControl instance
+ - a string
+ - a list of strings as first parameters
+ - the parameters given as the constructor parameters (must be strings)
+ - a MediaControl instance
"""
def __new__(cls, *p):
if p and p[0] == 0:
@@ -51,10 +51,10 @@ class MediaControl:
"""Create a new MediaControl instance
It may take as parameter either:
- * a string
- * a list of strings as first parameters
- * the parameters given as the constructor parameters (must be strings)
- * a vlc.Instance
+ - a string
+ - a list of strings as first parameters
+ - the parameters given as the constructor parameters (must be strings)
+ - a vlc.Instance
"""
def __new__(cls, *p):
if p and p[0] == 0:
@@ -81,8 +81,8 @@ class MediaPlayer:
"""Create a new MediaPlayer instance.
It may take as parameter either:
- * a string (media URI). In this case, a vlc.Instance will be created.
- * a vlc.Instance
+ - a string (media URI). In this case, a vlc.Instance will be created.
+ - a vlc.Instance
"""
def __new__(cls, *p):
if p and p[0] == 0:
@@ -109,8 +109,8 @@ class MediaListPlayer:
"""Create a new MediaPlayer instance.
It may take as parameter either:
- * a vlc.Instance
- * nothing
+ - a vlc.Instance
+ - nothing
"""
def __new__(cls, *p):
if p and p[0] == 0:
More information about the vlc-devel
mailing list