SIGN IN SIGN UP

gh-114014: Update `fractions.Fraction()`'s rational parsing regex (#114015)

Fix a bug in the regex used for parsing a string input to the `fractions.Fraction` constructor. That bug led to an inconsistent exception message being given for some inputs.

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
C
Crowthebird committed
dd56b5748317c3d504d6a9660d9207620c547f5c
Parent: c7d59bd
Committed by GitHub <noreply@github.com> on 1/13/2024, 12:02:39 PM