[3.14] gh-122450: Indicate that Fraction denominators are always positive (GH-136789)#136792
[3.14] gh-122450: Indicate that Fraction denominators are always positive (GH-136789)#136792miss-islington wants to merge 1 commit intopython:3.14from
Fraction denominators are always positive (GH-136789)#136792Conversation
…itive (pythonGH-136789) (cherry picked from commit eb8ac4c) Co-authored-by: nacind <107233139+nacind@users.noreply.github.com>
|
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 107233139+nacind@users.noreply.github.com
denominatorofFractionis positive, which should be documented #122450📚 Documentation preview 📚: https://cpython-previews--136792.org.readthedocs.build/