Skip to content

Commit 44b99e0

Browse files
committed
iUse PyDoc_STR() around docstrings.
1 parent c7903a1 commit 44b99e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/bgen/bgen/bgenGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def reference(self, name = None):
5757
Output()
5858
Output(self.condition)
5959
Output("{\"%s\", (PyCFunction)%s_%s, 1,", name, self.prefix, self.name)
60-
Output(" %s},", stringify(docstring))
60+
Output(" PyDoc_STR(%s)},", stringify(docstring))
6161
if self.condition:
6262
Output("#endif")
6363

0 commit comments

Comments
 (0)