-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
What's new in 3.12: fix typo: non-integral -> non-integer #106973
Comments
What's wrong with "non-integral"? |
Referring to the original issue #86388 and its PRs, it's about the handling of things that are not integers such as floats and strings. And we just used "non-integer" for this in the previous note at https://docs.python.org/3.11/library/random.html#random.randrange: ![]() |
Even though integral means "having to do with integers" or "integer-valued", integer makes more sense here from an accessibility and consistency standpoint |
…ew" (pythonGH-106984) (cherry picked from commit d55b4da) Co-authored-by: Sebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com>
For types. It said "non-integer types" and "non-integral values". Looks alright and intentional to me, not like a typo. But I guess integer works for both and seems more popular... |
Documentation
https://docs.python.org/3.12/whatsnew/3.12.html#changes-in-the-python-api says:
"non-integral" should be "non-integer"
Linked PRs
The text was updated successfully, but these errors were encountered: