Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7887c02

Browse files
miss-islingtonharmands
authored andcommitted
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) (GH-11417)
(cherry picked from commit e9a044e) Co-authored-by: Harmandeep Singh <[email protected]>
1 parent dc020cc commit 7887c02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)