[Python-checkins] bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
Miss Islington (bot)
webhook-mailer at python.org
Wed Jan 2 16:11:03 EST 2019
https://github.com/python/cpython/commit/d7cb2034bbaa26170cdc66eb54626e3ce1b8678a
commit: d7cb2034bbaa26170cdc66eb54626e3ce1b8678a
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-01-02T13:11:00-08:00
summary:
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
(cherry picked from commit e9a044ec16989bd4b39763c0588c17200a925350)
Co-authored-by: Harmandeep Singh <harmandeep3091 at gmail.com>
files:
M Doc/library/nntplib.rst
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst
index d8ef8a692a95..56188c7ef538 100644
--- a/Doc/library/nntplib.rst
+++ b/Doc/library/nntplib.rst
@@ -232,10 +232,10 @@ tuples or objects that the method normally returns will be empty.
.. 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
- 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
practices.
More information about the Python-checkins
mailing list