Paul Rubin <http://[EMAIL PROTECTED]> writes:
> >>> import operator
> >>> a=[(1,2),(3,4),(5,6)]
> >>> reduce(operator.add,a)
> (1, 2, 3, 4, 5, 6)

(Note that the above is probably terrible if the lists are large and
you're after speed.)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to