Message 102204 - Python tracker (original) (raw)
Unfortunately, that line is wrong (or at least incomplete), since decimals in exponential form are also accepted:
Fraction('2.3e4') Fraction(23000, 1)
I could try to reinstate a fixed version.
Attaching a second version of the patch: same as the first, except for some doc tweaks. (Rewording, markup fixes.)