SIGN IN SIGN UP

[3.11] gh-114014: Update `fractions.Fraction()`'s rational parsing regex (GH-114015) (#114025)

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: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
M
Mark Dickinson committed
41edd371606109e93ce9d73c053109085f740d1b
Parent: 25af45d
Committed by GitHub <noreply@github.com> on 1/13/2024, 6:22:31 PM