"platforms/cuda/vscode:/vscode.git/clone" did not exist on "457d7bd2fe5734dde9c35a119efdc9823be9df58"
Commit 05416ef4 authored by Peter Eastman's avatar Peter Eastman
Browse files

Improvement to Python documentation generation

parent 4a733da3
...@@ -51,7 +51,7 @@ while True: ...@@ -51,7 +51,7 @@ while True:
# Print out the docstring in Doxygen syntax, followed by the declaration. # Print out the docstring in Doxygen syntax, followed by the declaration.
for s in docstrings: for s in docstrings:
print "%s##%s" % (prefix, s.rstrip()) print "%s##%s" % (prefix, s.strip())
print declaration print declaration
if len(docstrings) == 0: if len(docstrings) == 0:
print line print line
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment