Lisandro Dalcin wrote: > 'A parameter named self is of the type the > method belongs to'.
I mean the documentation indicates when a parameter has the type of 'self' by using the word 'self' in the table. It *doesn't* mean that naming it 'self' in your code will give it the type of self. Sorry about the confusion; I'll see if I can re-word that part of the docs to make it clearer. > Anyway, do not you believe the current behavior is > a bit counter-intuitive? It's different from Python, but that's because the whole way that the operator methods work at the C type slot level is very different. It's something you just have to know about and deal with. The section on "Arithmetic Methods" explains what's going on. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
