From b861551b6ac928c25136d76151162f6fefc9cf71 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Fri, 10 Jan 2025 14:52:26 +0530 Subject: [PATCH] Remove unnecessary backticks (#15393) Ref: https://github.com/astral-sh/ruff/pull/15367#discussion_r1909448140 --- docs/formatter.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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