Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Docs: standardize boolean constants instdtypes.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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
@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 commitde2ddea.
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 foris_valid()
inDoc/library/string.rst
andfilter()
inDoc/library/logging.rst
. Do you mind to fix them too?
I'd like to do. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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. 👍
076004a
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 commit076004a)Co-authored-by: Yongzi Li <1538321957@qq.com>
GH-133760 is a backport of this pull request to the3.14 branch. |
)(cherry picked from commit076004a)Co-authored-by: Yongzi Li <1538321957@qq.com>
GH-133761 is a backport of this pull request to the3.13 branch. |
Thank you for your contribution,@Yzi-Li. |
I'm glad I could contribute in this way. 😄 |
Uh oh!
There was an error while loading.Please reload this page.
Replaces lowercase
true
/false
with standard boolean valuesTrue
/False
.📚 Documentation preview 📚:https://cpython-previews--133325.org.readthedocs.build/