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 vinay.sajip
Recipients Michal Plichta, docs@python, r.david.murray, vinay.sajip
Date 2017-12-06.20:22:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512591746.92.0.213398074469.issue32212@psf.upfronthosting.co.za>
In-reply-to
Content
I don't have a problem with tweaking the documentation where discrepancies are found between source and doc for keyword arguments, but in both the examples you give, the arguments are positional, not keyword. Therefore in my opinion your code should be e.g.

logger.setLevel(logging.DEBUG)

and

stream_handler.setFormatter(formatter)

without using keyword arguments. For positionals, as I see it, the name shouldn't matter, nor should any minor discrepancy between doc and source.
History
Date User Action Args
2017-12-06 20:22:26vinay.sajipsetrecipients: + vinay.sajip, r.david.murray, docs@python, Michal Plichta
2017-12-06 20:22:26vinay.sajipsetmessageid: <1512591746.92.0.213398074469.issue32212@psf.upfronthosting.co.za>
2017-12-06 20:22:26vinay.sajiplinkissue32212 messages
2017-12-06 20:22:26vinay.sajipcreate