summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/zlibd_decompress.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-27 18:02:25 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-27 18:02:25 +0000
commita5efcd474563ed4e3d979a619f073abab8379a09 (patch)
tree89ec313adc7023552dbb09ad92e0ba9ff00082ef /tests/extmod/zlibd_decompress.py
parenta9dc9b8f6dc29d842f0a7427cc3cf068ae1cfbea (diff)
downloadmicropython-a5efcd474563ed4e3d979a619f073abab8379a09.tar.gz
micropython-a5efcd474563ed4e3d979a619f073abab8379a09.zip
py: Specify unary/binary op name in TypeError error message.
Eg, "() + 1" now tells you that __add__ is not supported for tuple and int types (before it just said the generic "binary operator"). We reuse the table of names for slot lookup because it would be a waste of code space to store the pretty name for each operator.
Diffstat (limited to 'tests/extmod/zlibd_decompress.py')
0 files changed, 0 insertions, 0 deletions