Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 27, 2022
commit 6938e1f50577f88a62307ae36b773347b190804f
2 changes: 1 addition & 1 deletion Doc/library/ftplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The module defines the following items:
Latin-1 to UTF-8 to follow :rfc:`2640`.

.. class:: FTP_TLS(host='', user='', passwd='', acct='', *, context=None,
timeout=None, source_address=None, *, encoding='utf-8')
timeout=None, source_address=None, encoding='utf-8')

A :class:`FTP` subclass which adds TLS support to FTP as described in
:rfc:`4217`.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/http.client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ HTTPS protocols. It is normally not used directly --- the module
The module provides the following classes:


.. class:: HTTPConnection(host, port=None, *[, timeout], source_address=None, \
.. class:: HTTPConnection(host, port=None[, timeout], source_address=None, \
blocksize=8192)

An :class:`HTTPConnection` instance represents one transaction with an HTTP
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/smtplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
*context* was added.

.. versionchanged:: 3.3
*source_address* argument was added.
The *source_address* argument was added.

.. versionchanged:: 3.4
The class now supports hostname check with
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.12.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ Remove the *keyfile* and *certfile* parameters from the
:mod:`ftplib`, :mod:`imaplib`, :mod:`poplib` and :mod:`smtplib` modules,
and the *key_file*, *cert_file* and *check_hostname* parameters from the
:mod:`http.client` module,
all deprecated since Python 3.6. Use the *context* parameter
all deprecated since Python 3.6. Use the *context*
parameter (*ssl_context* in :mod:`imaplib`) instead. Patch by Victor
Stinner.

Expand Down