Skip to content

Commit dfab3fc

Browse files
committed
[xmlparser] Update XMLReader.parse_tag docstring
1 parent f8d7663 commit dfab3fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

odml/tools/xmlparser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ def parse_tag(self, root, fmt, insert_children=True):
227227
"""
228228
Parse an odml node based on the format description *fmt*
229229
and instantiate the corresponding object.
230+
:param root: lxml.etree node containing an odML object or object tree.
231+
:param fmt: odML class corresponding to the content of the root node.
232+
:param insert_children: Bool value. When True, child elements of the root node
233+
will be parsed to their odML equivalents and appended to
234+
the odML document. When False, child elements of the
235+
root node will be ignored.
230236
"""
231237
arguments = {}
232238
extra_args = {}

0 commit comments

Comments
 (0)