summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/introduction.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-06-28 20:59:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-06-28 20:59:42 (GMT)
commit5a55b61a2aa15b94d26bbc058ee2b5433178a42e (patch)
treef3271995fbef03c8aa251164de7cf9fb63e6504a /Doc/tutorial/introduction.rst
parent6e6565b64b201952b0497c4915e17ace5cae04a7 (diff)
downloadcpython-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.zip
cpython-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.tar.gz
cpython-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.tar.bz2
Issue #6354: More fixes for code examples involving the repr of a float.
Diffstat (limited to 'Doc/tutorial/introduction.rst')
-rw-r--r--Doc/tutorial/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 3757fc3..1b3faae 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -56,7 +56,7 @@ operators ``+``, ``-``, ``*`` and ``/`` work just like in most other languages
>>> (50-5*6)/4
5.0
>>> 8/5 # Fractions aren't lost when dividing integers
- 1.6000000000000001
+ 1.6
Note: You might not see exactly the same result; floating point results can
differ from one machine to another. We will say more later about controlling