mirror of
https://github.com/python/cpython.git
synced 2025-11-13 07:26:31 +00:00
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
This commit is contained in:
parent
d466c43e55
commit
e9a044ec16
1 changed files with 2 additions and 2 deletions
|
|
@ -232,10 +232,10 @@ tuples or objects that the method normally returns will be empty.
|
||||||
.. versionadded:: 3.2
|
.. versionadded:: 3.2
|
||||||
|
|
||||||
|
|
||||||
.. method:: NNTP.starttls(ssl_context=None)
|
.. method:: NNTP.starttls(context=None)
|
||||||
|
|
||||||
Send a ``STARTTLS`` command. This will enable encryption on the NNTP
|
Send a ``STARTTLS`` command. This will enable encryption on the NNTP
|
||||||
connection. The *ssl_context* argument is optional and should be a
|
connection. The *context* argument is optional and should be a
|
||||||
:class:`ssl.SSLContext` object. Please read :ref:`ssl-security` for best
|
:class:`ssl.SSLContext` object. Please read :ref:`ssl-security` for best
|
||||||
practices.
|
practices.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue