diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-08-30 01:35:48 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-08-30 01:39:24 +0300 |
commit | 784909ce1655bf8b2a97ac81a3842e844992082f (patch) | |
tree | 8567b5d4771b43288bfc81940b833cc193661e8a /esp8266/modmachine.c | |
parent | 8388ec4e35142539fb09d2a9ef5981b5732a349f (diff) |
py/objtype: Handle NotImplemented return from binary special methods.
NotImplemented means "try other fallbacks (like calling __rop__
instead of __op__) and if nothing works, raise TypeError". As
MicroPython doesn't implement any fallbacks, signal to raise
TypeError right away.
Diffstat (limited to 'esp8266/modmachine.c')
0 files changed, 0 insertions, 0 deletions