Skip to content

Commit

Permalink
Fix tuple expansion example in formatter compatibility document (#13313)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser authored Sep 10, 2024
1 parent d6bd841 commit 110193a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/formatter/black.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 110193a

Please sign in to comment.