[Python-3000] PEP 3102

Gustavo Niemeyer gustavo at niemeyer.net
Wed Mar 5 14:00:56 CET 2008


> Agreed. Now can you come up with a syntax for positional-only
> arguments? So far everybody has failed at that, and there are some use
> cases where it's useful too.

I guess it might be too late, but has anyone considered:

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

-- 
Gustavo Niemeyer
http://niemeyer.net


More information about the Python-3000 mailing list