• Damien George's avatar
    py: Simplify and improve mp_get_index. · a9ddd6d9
    Damien George authored
    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).
    a9ddd6d9