diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-19 08:06:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 08:06:53 +0300 |
commit | c8d2630995fc234f8276e35643a4a43e62224510 (patch) | |
tree | 359d25600fe9da975fdc9ee45dbba022bb7c5978 /Lib/email/utils.py | |
parent | eaf094c09b5b1c33435c60ef49b1cec78c32573c (diff) | |
download | cpython-c8d2630995fc234f8276e35643a4a43e62224510.tar.gz cpython-c8d2630995fc234f8276e35643a4a43e62224510.zip |
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.
Diffstat (limited to 'Lib/email/utils.py')
0 files changed, 0 insertions, 0 deletions