[Python-checkins] r74267 - in python/branches/py3k: Doc/library/fractions.rst
mark.dickinson
python-checkins at python.org
Thu Jul 30 12:02:09 CEST 2009
Author: mark.dickinson
Date: Thu Jul 30 12:02:09 2009
New Revision: 74267
Log:
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
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/library/fractions.rst
Modified: python/branches/py3k/Doc/library/fractions.rst
==============================================================================
--- python/branches/py3k/Doc/library/fractions.rst (original)
+++ python/branches/py3k/Doc/library/fractions.rst Thu Jul 30 12:02:09 2009
@@ -18,7 +18,7 @@
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
More information about the Python-checkins
mailing list