mirror of https://github.com/python/cpython
iUse PyDoc_STR() around docstrings.
This commit is contained in:
parent
c7903a13d2
commit
44b99e0a1f
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue