[Python-ideas] Positional-only parameters
Ethan Furman
ethan at stoneleaf.us
Wed Mar 1 16:32:42 EST 2017
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 '__'.
Newest-member-of-the-society-for-the-preservation-of-underscores-ly yrs,
--
~Ethan~
More information about the Python-ideas
mailing list