gh-82017: Support as_integer_ratio() in the Fraction constructor (GH-120271)
Any objects that have the as_integer_ratio() method (e.g. numpy.float128) can now be converted to a fraction.
S
Serhiy Storchaka committed
c8d2630995fc234f8276e35643a4a43e62224510
Parent: eaf094c
Committed by GitHub <noreply@github.com>
on 7/19/2024, 5:06:53 AM