[Python-ideas] Why not f(*my_list,*my_other_list) ? (original) (raw)
Mike Graham mikegraham at gmail.com
Fri Sep 10 21:28:09 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 ]
On Fri, Sep 10, 2010 at 1:34 PM, Daniel Stutzbach <daniel at stutzbachenterprises.com> wrote:
An alternative with better performance is:
from itertools import chain f(*chain(mylist, myotherlist))
Maybe.
- 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 ]