[docs] [issue35525] Incorrect keyword name in NNTP.starttls() documentation

Colin McPhail report at bugs.python.org
Tue Dec 18 10:28:06 EST 2018


New submission from Colin McPhail <colin.mcphail at mac.com>:

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'

----------
assignee: docs at python
components: Documentation
messages: 332066
nosy: cmcp22, docs at python
priority: normal
severity: normal
status: open
title: Incorrect keyword name in NNTP.starttls() documentation
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35525>
_______________________________________


More information about the docs mailing list