iUse PyDoc_STR() around docstrings.

This commit is contained in:
Jack Jansen 2002-08-16 09:07:42 +00:00
parent c7903a13d2
commit 44b99e0a1f
1 changed files with 1 additions and 1 deletions

View 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")