rustpython-ruff_python_parser 0.15.8

Unofficial fork for RustPython
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This file only contains unparenthesized with items. Refer to ./ambiguous_lpar_with_items.py
# for parenthesized with items test cases

with item: ...
with item as f: ...
with item1, item2: ...
with item1 as f1, item2 as f2: ...

with x if True else y: ...
with x if True else y as f: ...

# Postfix expressions
with open() as f: ...
with open() as f.attr: ...