vlc/python | branch: master | Olivier Aubert <olivier.aub...@liris.cnrs.fr> | 
Thu Nov 18 18:17:43 2010 +0100| [63e77629433736132b8d3c61e14b652af33b0cf0] | 
committer: Olivier Aubert 

python-vlc: convert bug/note/warning/version fields into epydoc syntax

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=63e77629433736132b8d3c61e14b652af33b0cf0
---

 generate.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/generate.py b/generate.py
index 10ef294..8662a58 100755
--- a/generate.py
+++ b/generate.py
@@ -557,8 +557,9 @@ class _Enum(ctypes.c_ulong):
         """
         lines=comment.replace('@{', '').replace('\\ingroup', '') \
                      .replace('@see', 'See').replace('\\see', 'See') \
-                     .replace('\\note', 'NOTE:').replace('\\warning', 
'WARNING:') \
                      .replace('\\param', '@param').replace('\\return', 
'@return') \
+                     .replace('\\note', '@note:').replace('\\warning', 
'@warning:') \
+                     .replace('\\bug', '@bug:').replace('\\version', 
'@version:') \
                      .strip().splitlines()
 
         doc = [ l for l in lines if '@param' not in l and '@return' not in l ]

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to