Uh oh!
There was an error while loading. Please reload this page.
gh-102856: Update "Formatted string literals" docs section after PEP701 - #104861
Conversation
pablogsal
commented
May 24, 2023
I think we need to fix also the "grammar" that is included here and substitute that for the PEG grammar |
pablogsal
commented
May 24, 2023
lysnikolaou
commented
May 24, 2023
Not sure about that. The existing grammar feels easier to read. Since the purpose of this is to give an overview of what can go into an f-string, I don't think we should over-complicate stuff with |
pablogsal
commented
May 24, 2023
Hummmm IIRC that grammar is slightly incorrect or it was missing some details. Check it out and if you are happy with it then let's keep it |
lysnikolaou
commented
May 24, 2023
I briefly compared it with our version in the PEG and it seems okay to me. If you're also okay with it, we can merge. |
miss-islington
commented
May 24, 2023
Thanks @lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…r PEP701 (pythonGH-104861) (cherry picked from commit 8e5b3b9) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
bedevere-bot
commented
May 24, 2023
GH-104865 is a backport of this pull request to the 3.12 branch. |

📚 Documentation preview 📚: https://cpython-previews--104861.org.readthedocs.build/