8000 [3.9] [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769) (GH-23… · python/cpython@7e80c0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e80c0f

Browse files
authored
[3.9] [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769) (GH-23380)
1 parent ff51e5e commit 7e80c0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/smtplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
115115
If the *timeout* parameter is set to be zero, it will raise a
116116
:class:`ValueError` to prevent the creation of a non-blocking socket
117117

118-
.. class:: LMTP(host='', port=LMTP_PORT, local_hostname=None,
118+
.. class:: LMTP(host='', port=LMTP_PORT, local_hostname=None, \
119119
source_address=None[, timeout])
120120

121121
The LMTP protocol, which is very similar to ESMTP, is heavily based on the

Doc/library/xml.dom.minidom.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module documentation. This section lists the differences between the API and
132132
... # Work with dom.
133133

134134

135-
.. method:: Node.writexml(writer, indent="", addindent="", newl="",
135+
.. method:: Node.writexml(writer, indent="", addindent="", newl="", \
136136
encoding=None, standalone=None)
137137

138138
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
174174
The :meth:`toxml` method now preserves the attribute order specified
175175
by the user.
176176

177-
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None,
177+
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
178178
standalone=None)
179179

180180
Return a pretty-printed version of the document. *indent* specifies the

0 commit comments

Comments
 (0)
0