diff Doc/tutorial/floatingpoint.rst @ 43219:655071bf6c45

Convert all print statements in the docs.
author Georg Brandl <georg@python.org>
date Tue, 04 Sep 2007 07:15:32 +0000
parents 95d6fe2e8e0e
children f28cbab11acd
line wrap: on
line diff
--- a/Doc/tutorial/floatingpoint.rst	Tue Sep 04 07:07:56 2007 +0000
+++ b/Doc/tutorial/floatingpoint.rst	Tue Sep 04 07:15:32 2007 +0000
@@ -85,7 +85,7 @@
 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