-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
[3.14] gh-122450: Indicate that Fraction
denominators are always positive (GH-136789)
#136792
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
…itive (pythonGH-136789) (cherry picked from commit eb8ac4c) Co-authored-by: nacind <[email protected]>
The following commit authors need to sign the Contributor License Agreement: |
@nacind please could you sign the CLA here? A |
@serhiy-storchaka was "do-not-merge" intentional? |
See #136789 (review). This change is incorrect and should be reverted. |
I disagree that this is incorrect. At worst, I would say that it has an ambiguous interpretation. In general, I think statements like the above are generally less helpful, especially in cases like this where we are discussing linguistic merits of word choice and not a technical implementation. I'm happy to hold this PR in 'draft', though, whilst we continue to make improvements to the A |
Two core devs disagree with you. I think it's a good argument against merging such changes and for a quick revert.
Well, it's math. You can't interpret same term differently in same sentence. That doesn't make any sense. I accept, documentation can be later improved. But now it's just plain wrong: it asserts that denominator argument is positive. |
Our style guide notes that arguments are italicised. Indeed, that is the case here -- the A |
Closing this now in favour of #136800 (which will need manual backports). A |
(cherry picked from commit eb8ac4c)
Co-authored-by: nacind [email protected]
denominator
ofFraction
is positive, which should be documented #122450📚 Documentation preview 📚: https://cpython-previews--136792.org.readthedocs.build/