diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-16 09:07:42 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-16 09:07:42 (GMT) |
commit | 44b99e0a1f6166ea05e7327c56dda601e017d401 (patch) | |
tree | 506fee1ebbb855a811dc93ec47b5ef9066e6766b /Tools | |
parent | c7903a13d2dc58d2f239a4d3bb29703199b450e4 (diff) | |
download | cpython-44b99e0a1f6166ea05e7327c56dda601e017d401.zip cpython-44b99e0a1f6166ea05e7327c56dda601e017d401.tar.gz cpython-44b99e0a1f6166ea05e7327c56dda601e017d401.tar.bz2 |
iUse PyDoc_STR() around docstrings.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/bgen/bgen/bgenGenerator.py | 2 |
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") |