diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-04-11 10:40:38 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-04-11 10:40:38 +0000 |
| commit | a9ddd6d9df97637c944bfc51a66476008a88feb3 (patch) | |
| tree | d06620f3a7ad7beba8a2c82d6701bd9ef45ab7ec /py/compile.c | |
| parent | 5f3fe3aa149721a08d7c9b1a683ba502f59d1aae (diff) | |
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 'py/compile.c')
0 files changed, 0 insertions, 0 deletions
