rustpython-ruff_python_parser 0.15.8

Unofficial fork for RustPython
Documentation
1
2
3
4
5
6
match x:
    case Class(x=1, x=2): ...
    case [Class(x=1, x=2)]: ...
    case {"x": x, "y": Foo(x=1, x=2)}: ...
    case [{}, {"x": x, "y": Foo(x=1, x=2)}]: ...
    case Class(x=1, d={"x": 1, "x": 2}, other=Class(x=1, x=2)): ...