Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

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.

----------
resolution:  -> not a bug
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32212>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to