70d5f1b2b7
Adds 'NOTIMPL' as a new primitive value, available from __builtins__.NotImplemented. Adds support for inverse / reflected overrides for binary operators. Adds opcodes for LESS_EQUAL and GREATER_EQUAL.
19 lines
305 B
Plaintext
19 lines
305 B
Plaintext
__radd__ called 42
|
|
42 + RAdder()
|
|
__rmul__ called 42
|
|
42 * RAdder()
|
|
__rpow__ called 42
|
|
42 ** RAdder()
|
|
__rrshift__ called 42
|
|
42 >> RAdder()
|
|
__rlshift__ called 42
|
|
42 << RAdder()
|
|
__ror__ called 42
|
|
42 | RAdder()
|
|
__rand__ called 42
|
|
42 & RAdder()
|
|
__rxor__ called 42
|
|
42 ^ RAdder()
|
|
__rmod__ called 42
|
|
42 % RAdder()
|