summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-01-17 17:07:39 -0800
committerNed Deily <nad@python.org>2019-01-17 20:07:39 -0500
commit7887c02d3372ebe3b39379588364134521a36c4e (patch)
tree1fd713d98f00854e2c81b53040261fd24f5ff4f2
parentdc020cc9800ae85f3a241b89ff5fcbc35ba39406 (diff)
downloadcpython-git-7887c02d3372ebe3b39379588364134521a36c4e.tar.gz
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) (GH-11417)
(cherry picked from commit e9a044ec16989bd4b39763c0588c17200a925350) Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com>
-rw-r--r--Doc/library/nntplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst
index d8ef8a692a..56188c7ef5 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.