Skip to content

Conversation

@TroyKomodo
Copy link

Move f-strings to be part of the grammar allowing them to contain arbitrary expressions and also support for quotations and sub braces.

I added this because I have become very used to the niceties of having stuff like f"some text: {abc.xyz}" or calling some function inside the expression context.

Signed-off-by: Troy Benson <troybensonsa@gmail.com>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 24, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 24, 2025

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D89754500. (Because this pull request was imported automatically, there will not be any future comments.)

Signed-off-by: Troy Benson <troybensonsa@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant