Dj Gilcrease wrote:
> Positional only args would be arguments that you cannot specify by
> keyword, so having a positional only arg that has a default value,
> thus making it optional just seems broken to me.

There's no logical problem with optional positional-only
args -- it just means you have to supply all the previous
args as well.

E.g. if the third arg of foo is positional-only and
optional, you can call it as either

    foo(a, b)
    foo(a, b, c)

-- 
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to