• xbe's avatar
    Implement str.count and add tests for it. · 9e1e8cd6
    xbe authored
    Also modify mp_get_index to accept:
    1. Indices that are or evaluate to a boolean.
    2. Slice indices.
    Add tests for these two cases.
    9e1e8cd6
objstr.c 24.9 KB