summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-11-18 22:45:17 (GMT)
committerGitHub <noreply@github.com>2020-11-18 22:45:17 (GMT)
commit829b177436e091025813d9be28c21ca46f246af7 (patch)
treeb9443c902a9ecbd1d17e036faaa01bcfa57eba92
parent622307142130d36a30644233441333247838af38 (diff)
downloadcpython-829b177436e091025813d9be28c21ca46f246af7.zip
cpython-829b177436e091025813d9be28c21ca46f246af7.tar.gz
cpython-829b177436e091025813d9be28c21ca46f246af7.tar.bz2
[doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769)
-rw-r--r--Doc/library/smtplib.rst2
-rw-r--r--Doc/library/xml.dom.minidom.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index b3cc603..8f5ca0a 100644
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -115,7 +115,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket
-.. class:: LMTP(host='', port=LMTP_PORT, local_hostname=None,
+.. class:: LMTP(host='', port=LMTP_PORT, local_hostname=None, \
source_address=None[, timeout])
The LMTP protocol, which is very similar to ESMTP, is heavily based on the
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index 2c78cd9..bf72c46 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -132,7 +132,7 @@ module documentation. This section lists the differences between the API and
... # Work with dom.
-.. method:: Node.writexml(writer, indent="", addindent="", newl="",
+.. method:: Node.writexml(writer, indent="", addindent="", newl="", \
encoding=None, standalone=None)
Write XML to the writer object. The writer receives texts but not bytes as input,
@@ -174,7 +174,7 @@ module documentation. This section lists the differences between the API and
The :meth:`toxml` method now preserves the attribute order specified
by the user.
-.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None,
+.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
standalone=None)
Return a pretty-printed version of the document. *indent* specifies the