Skip to content

Commit 6938e1f

Browse files
hugovkhauntsaninjaslateny
authored
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>
1 parent 879e651 commit 6938e1f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Doc/library/ftplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The module defines the following items:
8686
Latin-1 to UTF-8 to follow :rfc:`2640`.
8787

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

9191
A :class:`FTP` subclass which adds TLS support to FTP as described in
9292
:rfc:`4217`.

Doc/library/http.client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ HTTPS protocols. It is normally not used directly --- the module
3333
The module provides the following classes:
3434

3535

36-
.. class:: HTTPConnection(host, port=None, *[, timeout], source_address=None, \
36+
.. class:: HTTPConnection(host, port=None[, timeout], source_address=None, \
3737
blocksize=8192)
3838

3939
An :class:`HTTPConnection` instance represents one transaction with an HTTP

Doc/library/smtplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
9393
*context* was added.
9494

9595
.. versionchanged:: 3.3
96-
*source_address* argument was added.
96+
The *source_address* argument was added.
9797

9898
.. versionchanged:: 3.4
9999
The class now supports hostname check with

Misc/NEWS.d/3.12.0a2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ Remove the *keyfile* and *certfile* parameters from the
729729
:mod:`ftplib`, :mod:`imaplib`, :mod:`poplib` and :mod:`smtplib` modules,
730730
and the *key_file*, *cert_file* and *check_hostname* parameters from the
731731
:mod:`http.client` module,
732-
all deprecated since Python 3.6. Use the *context* parameter
732+
all deprecated since Python 3.6. Use the *context*
733733
parameter (*ssl_context* in :mod:`imaplib`) instead. Patch by Victor
734734
Stinner.
735735

0 commit comments

Comments
 (0)