summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-16 09:07:42 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-16 09:07:42 (GMT)
commit44b99e0a1f6166ea05e7327c56dda601e017d401 (patch)
tree506fee1ebbb855a811dc93ec47b5ef9066e6766b
parentc7903a13d2dc58d2f239a4d3bb29703199b450e4 (diff)
downloadcpython-44b99e0a1f6166ea05e7327c56dda601e017d401.zip
cpython-44b99e0a1f6166ea05e7327c56dda601e017d401.tar.gz
cpython-44b99e0a1f6166ea05e7327c56dda601e017d401.tar.bz2
iUse PyDoc_STR() around docstrings.
-rw-r--r--Tools/bgen/bgen/bgenGenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/bgen/bgen/bgenGenerator.py b/Tools/bgen/bgen/bgenGenerator.py
index 6213824..aa39668 100644
--- a/Tools/bgen/bgen/bgenGenerator.py
+++ b/Tools/bgen/bgen/bgenGenerator.py
@@ -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")