Westley Martínez wrote:

> def __radd__(self, other):
>     return self.__add__(self, other)

Which, inside a class, can be simplified to:

    __radd__ = __add__



-- 
Steven

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

Reply via email to