Kaydet (Commit) e9a044ec authored tarafından Harmandeep Singh's avatar Harmandeep Singh Kaydeden (comit) Tal Einat

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

üst d466c43e
...@@ -232,10 +232,10 @@ tuples or objects that the method normally returns will be empty. ...@@ -232,10 +232,10 @@ tuples or objects that the method normally returns will be empty.
.. versionadded:: 3.2 .. 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 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 :class:`ssl.SSLContext` object. Please read :ref:`ssl-security` for best
practices. 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