mirror of https://github.com/astral-sh/ruff
Fix tuple expansion example in formatter compatibility document (#13313)
This commit is contained in:
parent
d6bd841512
commit
110193af57
|
|
@ -458,19 +458,21 @@ parentheses:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Input
|
# Input
|
||||||
for a, f(b,) in c:
|
for a, [b, d,] in c:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Black
|
# Black
|
||||||
for a, f(
|
for a, [
|
||||||
b,
|
b,
|
||||||
) in c:
|
d,
|
||||||
|
] in c:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Ruff
|
# Ruff
|
||||||
for a, f(
|
for a, [
|
||||||
b,
|
b,
|
||||||
) in c:
|
d,
|
||||||
|
] in c:
|
||||||
pass
|
pass
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue