diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-27 17:20:41 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-27 17:33:30 +0000 |
commit | 83204f34067b765293b791563bdd5756bdfc5aa4 (patch) | |
tree | c3492e6ba82b9c1ae00cfe4cf33b359bec486fe1 /lib | |
parent | e37dcaafb43c1246ab55d79ebb8889a61f280533 (diff) | |
download | micropython-83204f34067b765293b791563bdd5756bdfc5aa4.tar.gz micropython-83204f34067b765293b791563bdd5756bdfc5aa4.zip |
py: Allow to properly disable builtin slice operation.
This patch makes the MICROPY_PY_BUILTINS_SLICE compile-time option
fully disable the builtin slice operation (when set to 0). This
includes removing the slice sytanx from the grammar. Now, enabling
slice costs 4228 bytes on unix x64, and 1816 bytes on stmhal.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions