Carl Banks wrote:
>
> and, you know, if you really want to concatenate strings with sum, you
> can
>
> class noopadd(object):
>     def __add__(self,other):
>         return other
> 
> sum(["abc","def","ghi"],noopadd())

;-)

- Pad.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to