summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/mp-tests
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-11 10:40:38 +0000
committerDamien George <damien.p.george@gmail.com>2014-04-11 10:40:38 +0000
commita9ddd6d9df97637c944bfc51a66476008a88feb3 (patch)
treed06620f3a7ad7beba8a2c82d6701bd9ef45ab7ec /tests/bytecode/mp-tests
parent5f3fe3aa149721a08d7c9b1a683ba502f59d1aae (diff)
downloadmicropython-a9ddd6d9df97637c944bfc51a66476008a88feb3.tar.gz
micropython-a9ddd6d9df97637c944bfc51a66476008a88feb3.zip
py: Simplify and improve mp_get_index.
It has (again) a fast path for ints, and a simplified "slow" path for everything else. Also simplify the way str indexing is done (now matches tuple and list).
Diffstat (limited to 'tests/bytecode/mp-tests')
0 files changed, 0 insertions, 0 deletions