No right operator in tp_as_number?

Marco Sulla Marco.Sulla.Python at gmail.com
Sat Nov 20 12:45:16 EST 2021


I checked the documentation:
https://docs.python.org/3/c-api/typeobj.html#number-structs
and it seems that, in the Python C API, the right operators do not exist.
For example, there is nb_add, that in Python is __add__, but there's
no nb_right_add, that in Python is __radd__

Am I missing something?


More information about the Python-list mailing list