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
|
||||
# Input
|
||||
for a, f(b,) in c:
|
||||
for a, [b, d,] in c:
|
||||
pass
|
||||
|
||||
# Black
|
||||
for a, f(
|
||||
for a, [
|
||||
b,
|
||||
) in c:
|
||||
d,
|
||||
] in c:
|
||||
pass
|
||||
|
||||
# Ruff
|
||||
for a, f(
|
||||
for a, [
|
||||
b,
|
||||
) in c:
|
||||
d,
|
||||
] in c:
|
||||
pass
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue