[Python-3000] Type Expressions

Alex Martelli aleaxit at gmail.com
Fri Apr 21 19:15:10 CEST 2006


On 4/21/06, Guido van Rossum <guido at python.org> wrote:
   ...
> To prevent more abominations like this, let me pronounce that I now
> like the single-star syntax:
>
>   def foo(a, b, *, x=1, y=2): ...

So, what will this syntax signify?  If the single-star stands for
"arbitrary positional arguments", how will the body of foo access
them?  Sorry if these have been well covered already, but I read back
through this thread and couldn't find them.


Alex


More information about the Python-3000 mailing list