Skip to content

Commit e9a044e

Browse files
harmandstaleinat
authored andcommitted
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
1 parent d466c43 commit e9a044e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/nntplib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ tuples or objects that the method normally returns will be empty.
232232
.. versionadded:: 3.2
233233

234234

235-
.. method:: NNTP.starttls(ssl_context=None)
235+
.. method:: NNTP.starttls(context=None)
236236

237237
Send a ``STARTTLS`` command. This will enable encryption on the NNTP
238-
connection. The *ssl_context* argument is optional and should be a
238+
connection. The *context* argument is optional and should be a
239239
:class:`ssl.SSLContext` object. Please read :ref:`ssl-security` for best
240240
practices.
241241

0 commit comments

Comments
 (0)