From: Harmandeep Singh Date: Wed, 2 Jan 2019 21:05:19 +0000 (+0530) Subject: bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) X-Git-Tag: v3.8.0a1~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9a044ec16989bd4b39763c0588c17200a925350;p=thirdparty%2FPython%2Fcpython.git bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) --- 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.