]> granicus.if.org Git - python/commitdiff
iUse PyDoc_STR() around docstrings.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 16 Aug 2002 09:07:42 +0000 (09:07 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 16 Aug 2002 09:07:42 +0000 (09:07 +0000)
Tools/bgen/bgen/bgenGenerator.py

index 621382469646401b20279d7f3277152fb57332ce..aa3966864ecc5feecea2534daf8ba35e9f1a0b61 100644 (file)
@@ -57,7 +57,7 @@ class BaseFunctionGenerator:
                        Output()
                        Output(self.condition)          
                Output("{\"%s\", (PyCFunction)%s_%s, 1,", name, self.prefix, self.name)
-               Output(" %s},", stringify(docstring))
+               Output(" PyDoc_STR(%s)},", stringify(docstring))
                if self.condition:
                        Output("#endif")