reduce to be removed?
Paddy
paddy3118 at netscape.net
Sun Nov 12 01:55:55 EST 2006
Dustan wrote:
> Anyway, I figured out a way to get the builtin
> function 'sum' to work as I need:
> sum([[1,2,3],[4,5,6],[7,8,9]], [])
>
Hah!
No-one expects sum to be used on anything but numbers.
Except lists as above.
No-one expects sum to be used on anything but numbers, and maybe lists
too.
;-)
(My apologies for my poor grasp of the Spanish Inquisition sketch; and
I was alluding to
this thread:
http://groups.google.com/group/comp.lang.python/msg/f34525384f8028b5 )
More information about the Python-list
mailing list