[Python-3000] PEP 3102

Gustavo Niemeyer gustavo at niemeyer.net
Wed Mar 5 14:06:22 CET 2008


> I guess it might be too late, but has anyone considered:
> 
> def func(normal_arg, *, positional_arg, **, keyword_arg):
>     pass

Or even that, since it's meaningless to have a positional argument in the
middle:

def func(positional_arg, *, normal_arg, **, keyword_arg):
    pass

-- 
Gustavo Niemeyer
http://niemeyer.net


More information about the Python-3000 mailing list