[Python-ideas] Why not f(*my_list, *my_other_list) ?

cool-RR cool-rr at cool-rr.com
Fri Sep 10 18:37:44 CEST 2010

I noticed that it's impossible to call a Python function with two starred
argument lists, like this: `f(*my_list, *my_other_list)`. I mean, if someone
wants to feed two lists of arguments into a function, why not?

I understand why you can't have two stars in a function definition; But why
can't you have two (or more) stars in a function call?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100910/bd8a872b/attachment.html>

More information about the Python-ideas mailing list