-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
lexical_analysis docs: Expand the text on _
#28903
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
Conversation
Also: * Expand the discussion into its own entry. (Even before this, text on ``_`` was longet than the text on ``_*``.) * Briefly note the other common convention for `_`: naming unused variables.
_
is a soft keyword_
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Maybe Brandt has something else to add.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I have one (very minor) suggestion:
Co-authored-by: Brandt Bucher <[email protected]> Co-authored-by: Ken Jin <[email protected]>
Looks like we can't do @brandtbucher's suggested |
Thanks @ambv! |
Also: * Expand the discussion into its own entry. (Even before this, text on ``_`` was longet than the text on ``_*``.) * Briefly note the other common convention for `_`: naming unused variables. Co-authored-by: Brandt Bucher <[email protected]> Co-authored-by: Ken Jin <[email protected]> Co-authored-by: Łukasz Langa <[email protected]> (cherry picked from commit 3dee0cb) Co-authored-by: Petr Viktorin <[email protected]>
GH-28933 is a backport of this pull request to the 3.10 branch. |
Also: * Expand the discussion into its own entry. (Even before this, text on ``_`` was longet than the text on ``_*``.) * Briefly note the other common convention for `_`: naming unused variables. Co-authored-by: Brandt Bucher <[email protected]> Co-authored-by: Ken Jin <[email protected]> Co-authored-by: Łukasz Langa <[email protected]> (cherry picked from commit 3dee0cb) Co-authored-by: Petr Viktorin <[email protected]>
Thank you! |
The lexical analysis docs cover
_
and should mention that it is now more special.cc @brandtbucher; should I cc other patma people?
Mention that ``_` is a soft keyword
Expand the discussion into its own entry. (Even before this, text on
_
was longer than the text on_*
.)Briefly note the other common convention for
_
: naming unused variables.