SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72114 0 1 Python

gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843)

Make docstrings for `as_integer_ratio` consistent across types, and document that
the returned pair is always normalized (coprime integers, with positive denominator).

---------

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
S
Sergey B Kirpichev committed
4624987b296108c2dc1e6e3a24e65d2de7afd451
Parent: 4f3786b
Committed by GitHub <noreply@github.com> on 2/27/2023, 7:11:28 PM