diff options
author | Fred Drake <fdrake@acm.org> | 2001-04-25 20:59:47 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-04-25 20:59:47 (GMT) |
commit | 1541e7869964fb3885cf0e12197380408377fd27 (patch) | |
tree | 851ebe5114b10b1ead3a730e9b0b03cc15d3c40e | |
parent | e9ecb6fd53fc982fc1291ae2681f43c6c7968aa9 (diff) | |
download | cpython-1541e7869964fb3885cf0e12197380408377fd27.zip cpython-1541e7869964fb3885cf0e12197380408377fd27.tar.gz cpython-1541e7869964fb3885cf0e12197380408377fd27.tar.bz2 |
Correct two floating-point representations printed by the interpreter in
interactive examples. Error noted by Dinu Gherman.
-rw-r--r-- | Doc/tut/tut.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 69ff7ed..c8176d2 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -427,7 +427,7 @@ operands convert the integer operand to floating point: \begin{verbatim} >>> 4 * 2.5 / 3.3 -3.0303030303 +3.0303030303030303 >>> 7.0 / 2 3.5 \end{verbatim} @@ -477,7 +477,7 @@ TypeError: can't convert complex to float; use e.g. abs(z) >>> a.real 1.5 >>> abs(a) -1.58113883008 +1.5811388300841898 \end{verbatim} In interactive mode, the last printed expression is assigned to the |