Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d8f976

Browse files
e-kwsmmiss-islington
authored andcommitted
Fix typo in xml.dom.minidom documentation (GH-10956)
Escape the \t and \n. Follow up from #10814.
1 parent ea0ca21 commit 2d8f976

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/xml.dom.minidom.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ module documentation. This section lists the differences between the API and
163163
The :meth:`toxml` method now preserves the attribute order specified
164164
by the user.
165165

166-
.. method:: Node.toprettyxml(indent="\t", newl="\n", encoding=None)
166+
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None)
167167

168168
Return a pretty-printed version of the document. *indent* specifies the
169169
indentation string and defaults to a tabulator; *newl* specifies the string

0 commit comments

Comments
 (0)