Ian Kelly <ian.g.ke...@gmail.com> writes:
>> Would there be any advantage over `f(*(my_list + my_other_list))`?
>
> That fails if my_list and my_other_list are different types, whereas
> the *args syntax happily accepts any iterable object.

f(*itertools.chain(my_list, my_other_list))
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to