diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-07-29 13:59:01 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-07-29 13:59:01 (GMT) |
commit | 8a550f3149662b0a5eb448afd659c95afe42cd0b (patch) | |
tree | 501de52a1680c517ce45ce0158d1aff255d840af | |
parent | 42b0c2f74068d74694187d229f65fcce0ae19643 (diff) | |
download | cpython-8a550f3149662b0a5eb448afd659c95afe42cd0b.zip cpython-8a550f3149662b0a5eb448afd659c95afe42cd0b.tar.gz cpython-8a550f3149662b0a5eb448afd659c95afe42cd0b.tar.bz2 |
Merged revisions 83224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83224 | mark.dickinson | 2010-07-29 14:56:56 +0100 (Thu, 29 Jul 2010) | 1 line
Fix typo.
........
-rw-r--r-- | Doc/tutorial/floatingpoint.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index 0230183..c06568e 100644 --- a/Doc/tutorial/floatingpoint.rst +++ b/Doc/tutorial/floatingpoint.rst @@ -81,7 +81,7 @@ approximated by ``3602879701896397 / 2 ** 55``. Since all of these decimal values share the same approximation, any one of them could be displayed while still preserving the invariant ``eval(repr(x)) == x``. -Historically, the Python prompt and built-in :func:`repr` function would chose +Historically, the Python prompt and built-in :func:`repr` function would choose the one with 17 significant digits, ``0.10000000000000001``. Starting with Python 3.1, Python (on most systems) is now able to choose the shortest of these and simply display ``0.1``. |