cpython/Misc/NEWS.d/next/Library/2024-05-26-22-22-51.gh-issu...

2 lines
224 B
ReStructuredText

If one calls pow(fractions.Fraction, x, module) with modulo not None, the error message now says that the types are incompatible rather than saying pow only takes 2 arguments. Patch by Wim Jeantine-Glenn and Mark Dickinson.