Normalize implicit concatenated f-string quotes per part (#13539)

This commit is contained in:
Micha Reiser
2024-10-08 11:59:17 +02:00
committed by GitHub
parent 42fcbef876
commit fc661e193a
11 changed files with 171 additions and 62 deletions

View File

@@ -307,3 +307,11 @@ hello {
]
} --------
"""
# Implicit concatenated f-string containing quotes
_ = (
'This string should change its quotes to double quotes'
f'This string uses double quotes in an expression {"woah"}'
f'This f-string does not use any quotes.'
)