mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Documentation fix for change introduced in r71832
This commit is contained in:
parent
4938fefce8
commit
9ad0b365b3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue