8000 [3.9] [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769) by JulienPalard · Pull Request #23380 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.9] [doc] Fix s 8000 mtplib and xml.dom.minidom mark-up (GH-22769) #23380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/smtplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/xml.dom.minidom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
0