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

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 4 22:23:34 CET 2012


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.

-- 
Greg



More information about the Python-ideas mailing list