Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-fcl
Commits
e2814e57
Commit
e2814e57
authored
Jun 02, 2020
by
Joseph Mirabel
Browse files
[Python] Fix (again) generation of the Python 3 doc
parent
749492c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/python/xml_docstring.py
View file @
e2814e57
...
...
@@ -69,10 +69,13 @@ class XmlDocString (object):
if
detailled
is
not
None
and
len
(
detailled
.
getchildren
())
>
0
:
if
brief
is
not
None
:
self
.
_newline
()
self
.
visit
(
detailled
)
from
sys
import
stdout
,
stderr
from
sys
import
stdout
,
stderr
,
version_info
self
.
writeErrors
(
output
)
self
.
_clean
()
return
self
.
_linesep
.
join
(
self
.
lines
).
encode
(
"utf-8"
)
if
version_info
[
0
]
==
2
:
return
self
.
_linesep
.
join
(
self
.
lines
).
encode
(
"utf-8"
)
else
:
return
self
.
_linesep
.
join
(
self
.
lines
)
def
visit
(
self
,
node
):
assert
isinstance
(
node
.
tag
,
str
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment