From 6a74d34d7c8e9280efb1f4c72b07938c3436c18b Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Thu, 29 Jul 2010 13:56:56 +0000 Subject: Fix typo. --- Doc/tutorial/floatingpoint.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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``. -- cgit v0.12