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

Benjamin Peterson benjamin at python.org
Fri Sep 10 19:03:20 CEST 2010


cool-RR <cool-rr at ...> writes:

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?

Okay, so why would you want to?



More information about the Python-ideas mailing list