Message307766
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. |
|
Date |
User |
Action |
Args |
2017-12-06 20:22:26 | vinay.sajip | set | recipients:
+ vinay.sajip, r.david.murray, docs@python, Michal Plichta |
2017-12-06 20:22:26 | vinay.sajip | set | messageid: <1512591746.92.0.213398074469.issue32212@psf.upfronthosting.co.za> |
2017-12-06 20:22:26 | vinay.sajip | link | issue32212 messages |
2017-12-06 20:22:26 | vinay.sajip | create | |
|