mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 05:30:27 +01:00
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.
55 KiB
55 KiB