diff options
author | Harmandeep Singh <harmandeep3091@gmail.com> | 2019-01-02 21:05:19 (GMT) |
---|---|---|
committer | Tal Einat <taleinat+github@gmail.com> | 2019-01-02 21:05:19 (GMT) |
commit | e9a044ec16989bd4b39763c0588c17200a925350 (patch) | |
tree | 2ff39e799f4f0d9408ffb02a6d3865533880067c /Doc/library | |
parent | d466c43e55cd32af84e353f0e9a48b09b7534f61 (diff) | |
download | cpython-e9a044ec16989bd4b39763c0588c17200a925350.zip cpython-e9a044ec16989bd4b39763c0588c17200a925350.tar.gz cpython-e9a044ec16989bd4b39763c0588c17200a925350.tar.bz2 |
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/nntplib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst index d8ef8a6..56188c7 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. |