[Python-ideas] keyword arguments everywhere (stdlib) - issue8706

Serhiy Storchaka storchaka at gmail.com
Sun Mar 4 22:47:28 CET 2012


04.03.12 23:23, Greg Ewing написав(ла):
> Another bikeshed idea on positional-only parameters:
>
> def foo([self], a, b, *args, **kwds):
> ...
>
> The square brackets are meant to suggest that the name is
> something only of interest to the implementation of the function,
> and not to be taken as part of the API.

Or _name, as for "private" class and module members.




More information about the Python-ideas mailing list