diff --git a/docs/formatter.md b/docs/formatter.md index c82124105b4d8..784874c7523dc 100644 --- a/docs/formatter.md +++ b/docs/formatter.md @@ -427,9 +427,9 @@ or f-string literal that contains the [configured quote style]: ```python # format.quote-style = "double" -f'{"""nested " """}'` +f'{"""nested " """}' # This f-string cannot be formatted as follows when targeting Python < 3.12 -f"{'''nested " '''}`` +f"{'''nested " '''}" ``` For all target Python versions, when a [self-documenting f-string] contains an expression between