diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-30 16:46:31 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-30 17:02:06 +1000 |
commit | eca1408f16beeeb06e2eb16410545a29b7064f20 (patch) | |
tree | ccb61488b320c93d5deea77e41f2ae26cbf69a3b /esp8266/scripts/neopixel.py | |
parent | 3be4f886ce2ab5bd625e0d7ad29ba827844df749 (diff) | |
download | micropython-eca1408f16beeeb06e2eb16410545a29b7064f20.tar.gz micropython-eca1408f16beeeb06e2eb16410545a29b7064f20.zip |
py/objbool: Defer bool's unary op implementation to small int.
Similar to how binary op already works. Common unary operations already
have fast paths for bool so there's no need to have explicit handling of
ops in bool_unary_op, especially since they have the same behaviour as
integers.
Diffstat (limited to 'esp8266/scripts/neopixel.py')
0 files changed, 0 insertions, 0 deletions