mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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
........
................
This commit is contained in:
parent
a44c6b325f
commit
4d0fe04722
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue