Commit e9a044ec authored by Harmandeep Singh's avatar Harmandeep Singh Committed by Tal Einat

bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)

parent d466c43e
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment