]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769)
authorAndre Delfino <adelfino@gmail.com>
Wed, 18 Nov 2020 22:45:17 +0000 (19:45 -0300)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 22:45:17 +0000 (23:45 +0100)
Doc/library/smtplib.rst
Doc/library/xml.dom.minidom.rst

index b3cc60357f554ac041a6dfca9738cd7ade94f239..8f5ca0ac30022379031d065001a3ba88f6d281f9 100644 (file)
@@ -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
index 2c78cd939243a8059a8b56e7f7c588f50c5ae19c..bf72c46561b7c7906fd17f0d81cd921afb5fa362 100644 (file)
@@ -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