rustpython-ruff_python_parser 0.15.8

Unofficial fork for RustPython
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# parse_options: {"target-version": "3.11"}
f'Magic wand: { bag['wand'] }'     # nested quotes
f"{'\n'.join(a)}"                  # escape sequence
f'''A complex trick: {
    bag['bag']                     # comment
}'''
f"{f"{f"{f"{f"{f"{1+1}"}"}"}"}"}"  # arbitrary nesting
f"{f'''{"nested"} inner'''} outer" # nested (triple) quotes
f"test {a \
    } more"                        # line continuation
f"""{f"""{x}"""}"""                # mark the whole triple quote
f"{'\n'.join(['\t', '\v', '\r'])}"  # multiple escape sequences, multiple errors