-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Document "!" token in lexical analysis document #123579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Thanks for opening an issue @Glyphack! That's a good point. Would you like to submit a PR that adds |
Yess I will do thanks for clarifying. |
Glyphack
added a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Glyphack
added a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Glyphack
added a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
lysnikolaou
pushed a commit
that referenced
this issue
Sep 3, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 3, 2024
(cherry picked from commit 68fe575) Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 3, 2024
(cherry picked from commit 68fe575) Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
This was referenced Sep 3, 2024
lysnikolaou
pushed a commit
that referenced
this issue
Sep 3, 2024
lysnikolaou
pushed a commit
that referenced
this issue
Sep 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
I think after PEP701 The
!
character became a token.But this is not listed like other tokens:
It is mentioned in the grammar though: https://docs.python.org/3/reference/lexical_analysis.html#formatted-string-literals
I think it would be helpful to list it in https://docs.python.org/3/reference/lexical_analysis.html or remove the rest of tokens and refer to Grammar/Tokens file so the list is always up to date.
Linked PRs
The text was updated successfully, but these errors were encountered: