rustpython-ruff_python_parser 0.15.8

Unofficial fork for RustPython
Documentation
1
2
3
4
5
6
7
# parse_options: {"target-version": "3.10"}
lst[*index]  # simple index
class Array(Generic[DType, *Shape]): ...  # motivating example from the PEP
lst[a, *b, c]  # different positions
lst[a, b, *c]  # different positions
lst[*a, *b]  # multiple unpacks
array[3:5, *idxs]  # mixed with slices