Feature or enhancement
It is an alternate constructor which only accepts a single numeric argument. Unlike to Fraction.from_float() and Fraction.from_decimal() it accepts any real numbers supported by the standard constructor (int, float, Decimal, Rational numbers). Unlike to the standard constructor, it does not accept strings.
Similar to float.from_number() and complex.from_number() (see #84978).
Linked PRs