[Python-3000] Cleaning up argument list parsing (was Re: More wishful thinking)

Guido van Rossum guido at python.org
Wed Apr 19 15:52:14 CEST 2006


On 4/19/06, Nick Coghlan <ncoghlan at gmail.com> wrote:
> A different idea from another part of the thread would be to allow a parameter
> list rather than an identifier after **:
>
>    def f(**(paramA, paramB=10)):
>        print paramA, paramB

Hm, -1. Without the explanation I would have *no* idea what that could
mean. Even with explanation I'm not sure... (Is paramA a positional
parameter? If not, why not, and what's its default?)

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list