[vlc-commits] Replace NULL by None in python doc

Olivier Aubert git at videolan.org
Fri Jun 5 16:23:06 CEST 2015


vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Fri Jun  5 16:22:02 2015 +0200| [423855f867015d3decbb1877dbda12dc9ef2784e] | committer: Olivier Aubert

Replace NULL by None in python doc

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

 generate.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/generate.py b/generate.py
index ea3a859..10144dc 100755
--- a/generate.py
+++ b/generate.py
@@ -275,6 +275,7 @@ class Func(_Source):
                           .replace('\\bug', '@bug').replace('\\version', '@version') \
                           .replace('\\note', '@note').replace('\\warning', '@warning') \
                           .replace('\\param', '@param').replace('\\return', '@return') \
+                          .replace('NULL', 'None') \
                           .splitlines():
             if '@param' in t:
                 if _OUT_ in t:



More information about the vlc-commits mailing list