@@ -428,7 +428,7 @@ Functions
428428 arguments. Returns an element instance.
429429
430430
431- .. function :: tostring(element, encoding="us-ascii", method="xml", *,\
431+ .. function :: tostring(element, encoding="us-ascii", method="xml", *, \
432432 short_empty_elements=True)
433433
434434 Generates a string representation of an XML element, including all
@@ -443,7 +443,7 @@ Functions
443443 The *short_empty_elements * parameter.
444444
445445
446- .. function :: tostringlist(element, encoding="us-ascii", method="xml", *,\
446+ .. function :: tostringlist(element, encoding="us-ascii", method="xml", *, \
447447 short_empty_elements=True)
448448
449449 Generates a string representation of an XML element, including all
@@ -751,8 +751,8 @@ ElementTree Objects
751751 section root element.
752752
753753
754- .. method :: write(file, encoding="us-ascii", xml_declaration=None,\
755- default_namespace=None, method="xml", *,\
754+ .. method :: write(file, encoding="us-ascii", xml_declaration=None, \
755+ default_namespace=None, method="xml", *, \
756756 short_empty_elements=True)
757757
758758 Writes the element tree to a file, as XML. *file * is a file name, or a
@@ -761,9 +761,9 @@ ElementTree Objects
761761 *xml_declaration * controls if an XML declaration should be added to the
762762 file. Use ``False `` for never, ``True `` for always, ``None ``
763763 for only if not US-ASCII or UTF-8 or Unicode (default is ``None ``).
764+ *default_namespace * sets the default XML namespace (for "xmlns").
764765 *method * is either ``"xml" ``, ``"html" `` or ``"text" `` (default is
765- ``"xml" ``). *default_namespace * sets the default XML namespace (for
766- "xmlns").
766+ ``"xml" ``).
767767 The keyword-only *short_empty_elements * parameter controls the formatting
768768 of elements that contain no content. If *True * (the default), they are
769769 emitted as a single self-closed tag, otherwise they are emitted as a pair
0 commit comments