-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Docs: standardize boolean constants in stdtypes.rst
#133325
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
@Yzi-Li, please avoid using "Update branch" button, unless you do something meaningful, e.g. fix a merge conflict. |
Sorry, but I just want to revert the commit. |
This reverts commit de2ddea.
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.
There are similar cases for is_valid()
in Doc/library/string.rst
and filter()
in Doc/library/logging.rst
. Do you mind to fix them too?
I'd like to do. |
Should we use |
No, we should not use this for parameters, because arguments can also be |
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. 👍
Thanks @Yzi-Li for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
) (cherry picked from commit 076004a) Co-authored-by: Yongzi Li <1538321957@qq.com>
GH-133760 is a backport of this pull request to the 3.14 branch. |
) (cherry picked from commit 076004a) Co-authored-by: Yongzi Li <1538321957@qq.com>
GH-133761 is a backport of this pull request to the 3.13 branch. |
Thank you for your contribution, @Yzi-Li. |
I'm glad I could contribute in this way. 😄 |
Replaces lowercase
true
/false
with standard boolean valuesTrue
/False
.📚 Documentation preview 📚: https://cpython-previews--133325.org.readthedocs.build/