mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
Don't lose the newlines from the docstring of a PyMethodDef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3245,7 +3245,7 @@ class SphinxGenerator(generators.DocsGeneratorBase):
|
||||
arguments, after = line.strip().split("->")
|
||||
return_type = self.ReturnSection(after)
|
||||
else:
|
||||
docstrings += line
|
||||
docstrings += line + '\n'
|
||||
|
||||
docstrings = ConvertToPython(docstrings)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user