commit | 44b99e0a1f6166ea05e7327c56dda601e017d401 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Fri Aug 16 09:07:42 2002 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Fri Aug 16 09:07:42 2002 +0000 |
tree | 506fee1ebbb855a811dc93ec47b5ef9066e6766b | |
parent | c7903a13d2dc58d2f239a4d3bb29703199b450e4 [diff] |
iUse PyDoc_STR() around docstrings.
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 @@ 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")