7 May
2016
7 May
'16
10:04 p.m.
+1: This is by far my biggest use case for keyword only parameters.
On Sat, May 7, 2016 at 5:41 PM, Serhiy Storchaka
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 parameters.
What are you think about this?
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/