summaryrefslogtreecommitdiff
path: root/Doc/tutorial/floatingpoint.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-04 07:15:32 +0000
committerGeorg Brandl <georg@python.org>2007-09-04 07:15:32 +0000
commitfdec8fd325ae9160e0dd245b775692f7e2716f3d (patch)
tree9ae72a8fda9c8e6fd4f3be11881b32c43ab63a6c /Doc/tutorial/floatingpoint.rst
parent8411d88883909df0d1228953ec79cc55f837f329 (diff)
downloadcpython-fdec8fd325ae9160e0dd245b775692f7e2716f3d.tar.gz
Convert all print statements in the docs.
Diffstat (limited to 'Doc/tutorial/floatingpoint.rst')
-rw-r--r--Doc/tutorial/floatingpoint.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst
index ab687234b2..2eaab12199 100644
--- a/Doc/tutorial/floatingpoint.rst
+++ b/Doc/tutorial/floatingpoint.rst
@@ -85,7 +85,7 @@ Python's builtin :func:`str` function produces only 12 significant digits, and
you may wish to use that instead. It's unusual for ``eval(str(x))`` to
reproduce *x*, but the output may be more pleasant to look at::
- >>> print str(0.1)
+ >>> print(str(0.1))
0.1
It's important to realize that this is, in a real sense, an illusion: the value