summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-07-30 10:03:32 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-07-30 10:03:32 (GMT)
commit4d0fe047227030ad9ff0ddfa4c2812be79f0b8ae (patch)
treecc189c270cada22a3ae2f4361fe9a957fb4d83c0 /Doc/library
parenta44c6b325f21647a48f787215f0959de887ae08b (diff)
downloadcpython-4d0fe047227030ad9ff0ddfa4c2812be79f0b8ae.zip
cpython-4d0fe047227030ad9ff0ddfa4c2812be79f0b8ae.tar.gz
cpython-4d0fe047227030ad9ff0ddfa4c2812be79f0b8ae.tar.bz2
Merged revisions 74267 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k ................ r74267 | mark.dickinson | 2009-07-30 11:02:09 +0100 (Thu, 30 Jul 2009) | 9 lines Merged revisions 74265 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74265 | mark.dickinson | 2009-07-30 11:00:10 +0100 (Thu, 30 Jul 2009) | 1 line Documentation fix for change introduced in r71832 ........ ................
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/fractions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index 19d435d..7960026 100644
--- a/Doc/library/fractions.rst
+++ b/Doc/library/fractions.rst
@@ -18,7 +18,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