On 2017-03-01 21:32, Ethan Furman wrote:
On 03/01/2017 11:53 AM, Guido van Rossum wrote:
FWIW in typeshed we've started using double leading underscore as a convention
for positional-only parameters, e.g. here:
https://github.com/python/typeshed/blob/master/stdlib/3/builtins.pyi#L936
I would much rather have a single '/' to denote where positional-only ends,
than have multiple leading '__'.
+1
This also not clear what would happen if some of the parameters had the
leading underscores and others didn't.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/