Skip to content

Fix Python multi-line f-strings.#5272

Open
yilei wants to merge 1 commit intomicrosoft:mainfrom
yilei:python-f-string
Open

Fix Python multi-line f-strings.#5272
yilei wants to merge 1 commit intomicrosoft:mainfrom
yilei:python-f-string

Conversation

@yilei
Copy link
Copy Markdown

@yilei yilei commented Mar 28, 2026

This routes f''' and f""" to dedicates states, which will be closed on matching ''' and """ quotes. It also adds the supported raw-string variant prefixes like rf / rF / ...

This should fix #4601.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] new support for Python f-strings breaks with multi-line f-strings

1 participant