[Python-ideas] Boolean parameters guidelines
joejev at gmail.com
Sat May 7 18:04:52 EDT 2016
+1: This is by far my biggest use case for keyword only parameters.
On Sat, May 7, 2016 at 5:41 PM, Serhiy Storchaka <storchaka at gmail.com>
> I propose to add following recommendations in PEP 8 or other documents:
> 1. It is preferable to pass boolean arguments as keyword arguments (if
> this is not the only argument).
> 2. It is preferable to declare boolean parameters as keyword-only
> What are you think about this?
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas