Robert Bradshaw wrote:
> What you're observing here due to  
> the fact that the __add__ method may take self in either the left or  
> right parameter.
> 
> We really need to add that to
> 
> http://docs.cython.org/docs/extension_types.html#special-methods

In the meantime, you can read about it here:

http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/special_methods.html

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to