This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cmcp22
Recipients cmcp22, docs@python
Date 2018-12-18.15:28:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545146886.62.0.788709270274.issue35525@psf.upfronthosting.co.za>
In-reply-to
Content
The library documentation for nntplib.NNTP.starttls() says that it takes a keyword parameter called ssl_context. The source code referenced via the link at the top of the nntplib documentation shows the keyword is actually called context. The result is a TypeError if the documented name is used:
    TypeError: starttls() got an unexpected keyword argument 'ssl_context'
History
Date User Action Args
2018-12-18 15:28:06cmcp22setrecipients: + cmcp22, docs@python
2018-12-18 15:28:06cmcp22setmessageid: <1545146886.62.0.788709270274.issue35525@psf.upfronthosting.co.za>
2018-12-18 15:28:06cmcp22linkissue35525 messages
2018-12-18 15:28:06cmcp22create