Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/floatingpoint.rst @ 63285:ee37bcb8f03e
Fix typo.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Thu, 29 Jul 2010 13:56:56 +0000 |
| parents | 7048948646b0 |
| children | eafe07d40eb7 |
line wrap: on
line diff
--- a/Doc/tutorial/floatingpoint.rst Thu Jul 29 13:38:37 2010 +0000 +++ b/Doc/tutorial/floatingpoint.rst Thu Jul 29 13:56:56 2010 +0000 @@ -81,7 +81,7 @@ 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``.
