Skip to content

Commit

Permalink
Remove unnecessary backticks (#15393)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila authored Jan 10, 2025
1 parent 443bf38 commit b861551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b861551

Please sign in to comment.