mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
iUse PyDoc_STR() around docstrings.
This commit is contained in:
parent
c7903a13d2
commit
44b99e0a1f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue