mirror of https://github.com/python/cpython
Documentation fix for change introduced in r71832
This commit is contained in:
parent
4938fefce8
commit
9ad0b365b3
|
@ -20,7 +20,7 @@ another rational number, or from a string.
|
|||
Fraction(string)
|
||||
|
||||
The first version requires that *numerator* and *denominator* are
|
||||
instances of :class:`numbers.Integral` and returns a new
|
||||
instances of :class:`numbers.Rational` and returns a new
|
||||
:class:`Fraction` instance with value ``numerator/denominator``. If
|
||||
*denominator* is :const:`0`, it raises a
|
||||
:exc:`ZeroDivisionError`. The second version requires that
|
||||
|
|
Loading…
Reference in New Issue