[Cython] __add__ type declaration
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Nov 16 01:14:20 CET 2008
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
More information about the Cython-dev
mailing list