micropython/ports/unix
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods.
If, for class X, X.__add__(Y) doesn't exist (or returns NotImplemented),
try Y.__radd__(X) instead.

This patch could be simpler, but requires undoing operand swap and
operation switch to get non-confusing error message in case __radd__
doesn't exist.
2017-09-10 17:05:57 +03:00
..
coverage-frzmpy
coverage-frzstr
modules
.gitignore
Makefile
alloc.c
coverage.c
fatfs_port.c
fdfile.h
file.c
gccollect.c
input.c
input.h
main.c
modffi.c
modjni.c
modmachine.c
modos.c
modsocket.c
modtermios.c
modtime.c
moduos_vfs.c
moduselect.c
mpconfigport.h
mpconfigport.mk
mpconfigport_coverage.h py/runtime: Implement dispatch for "reverse op" special methods. 2017-09-10 17:05:57 +03:00
mpconfigport_fast.h
mpconfigport_freedos.h
mpconfigport_minimal.h
mpconfigport_nanbox.h
mphalport.h
mpthreadport.c
mpthreadport.h
qstrdefsport.h
unix_mphal.c