• Rudi Chen's avatar
    Implement missing functionality for indexing and slicing. · 987fa9ec
    Rudi Chen authored
    - Call either the item functions (e.g. __getitem__) or slicing function
      (e.g. __getslice__) to match the CPython behavior.
    - Implement __getslice, __setslice__, __delslice__, for lists.
    - Implement __setslice__ for strings.
    - Some refactoring of common functionality for indexing and slicing.
    - A lot of tests.
    987fa9ec
slice.py 2.86 KB