gh-110936: Improve string literal definition in Lexical Analysis#138063
gh-110936: Improve string literal definition in Lexical Analysis#138063encukou merged 1 commit intopython:mainfrom
Conversation
|
cc @encukou, we've just reworded this section. Perhaps this PR should be deferred in favour of the eventual goal of automatically generating the grammar snippets in the documentation for the actual grammar? A |
|
After all of the work put in to improve the snippets, I think it would be worse as the actual grammar would be much less reader friendly. Furthermore, for this specific case the parsing is done by |
|
Pablo's comment from the issue -- “The change is not incorrect and is technically a bit more precise on the order” -- applies to this one as well. |
|
Per comment on issue. |
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
pythonGH-138063) (cherry picked from commit 0a0cbd4) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
GH-138373 is a backport of this pull request to the 3.14 branch. |
📚 Documentation preview 📚: https://cpython-previews--138063.org.readthedocs.build/