Fix tuple expansion example in formatter compatibility document (#13313)

This commit is contained in:
Micha Reiser 2024-09-10 19:47:12 +02:00 committed by GitHub
parent d6bd841512
commit 110193af57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -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
``` ```