Message70449
functions with keyword-only arguments have this form:
def f(x, *args, y):
pass
parameters can appear after the *arg, they are required to be passed by
keyword.
It would be more consistent to allow this function call:
f(X, *ARGS, y=Y)
This is invalid syntax, *ARGS is required to be at the end of the
arguments, together with an eventual **KWARGS. This restriction should
be lifted.
See the use case in
http://mail.python.org/pipermail/python-3000/2008-July/014437.html |
|
Date |
User |
Action |
Args |
2008-07-31 01:16:31 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc |
2008-07-31 01:16:31 | amaury.forgeotdarc | set | messageid: <1217466991.08.0.845897736513.issue3473@psf.upfronthosting.co.za> |
2008-07-31 01:16:30 | amaury.forgeotdarc | link | issue3473 messages |
2008-07-31 01:16:29 | amaury.forgeotdarc | create | |
|