cpython/Misc/NEWS.d/next/Library/2024-05-20-13-48-37.gh-issu...

4 lines
201 B
ReStructuredText

When using the ``**`` operator or :func:`pow` with :class:`~fractions.Fraction`
as the base and an exponent that is not rational, a float, or a complex, the
fraction is no longer converted to a float.