From 110193af57bc88a1dec2c95d2858177a5f5dcaa8 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 10 Sep 2024 19:47:12 +0200 Subject: [PATCH] Fix tuple expansion example in formatter compatibility document (#13313) --- docs/formatter/black.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/formatter/black.md b/docs/formatter/black.md index 3c2939b4e37d1..5f0c12b388180 100644 --- a/docs/formatter/black.md +++ b/docs/formatter/black.md @@ -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 ```