[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
- Previous message: [Python-ideas] Why not f(*my_list, *my_other_list) ?
- Next message: [Python-ideas] Why not f(*my_list,*my_other_list) ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Previous message: [Python-ideas] Why not f(*my_list, *my_other_list) ?
- Next message: [Python-ideas] Why not f(*my_list,*my_other_list) ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]