diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-07-30 10:00:10 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-07-30 10:00:10 (GMT) |
| commit | 9ad0b365b3c720a95784c800d13e567c64d3bb6a (patch) | |
| tree | a934faa9ab048c983e57d4352e7a638743efa50d | |
| parent | 4938fefce8f989d19a8dfe55b6af0fef10465161 (diff) | |
| download | cpython-9ad0b365b3c720a95784c800d13e567c64d3bb6a.zip cpython-9ad0b365b3c720a95784c800d13e567c64d3bb6a.tar.gz cpython-9ad0b365b3c720a95784c800d13e567c64d3bb6a.tar.bz2 | |
Documentation fix for change introduced in r71832
| -rw-r--r-- | Doc/library/fractions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index 5e9758e..5680215 100644 --- a/Doc/library/fractions.rst +++ b/Doc/library/fractions.rst @@ -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 |
