]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
authorHarmandeep Singh <harmandeep3091@gmail.com>
Wed, 2 Jan 2019 21:05:19 +0000 (02:35 +0530)
committerTal Einat <taleinat+github@gmail.com>
Wed, 2 Jan 2019 21:05:19 +0000 (23:05 +0200)
Doc/library/nntplib.rst

index d8ef8a692a9533c00ac15af51177a32ba4b25ca3..56188c7ef53880c7bb365b638b977f7c7b94d8f5 100644 (file)
@@ -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.