From 44b99e0a1f6166ea05e7327c56dda601e017d401 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 16 Aug 2002 09:07:42 +0000 Subject: iUse PyDoc_STR() around docstrings. --- Tools/bgen/bgen/bgenGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v0.12