summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-08-14 19:55:42 (GMT)
committerFred Drake <fdrake@acm.org>2001-08-14 19:55:42 (GMT)
commitd3ba10f4b5000d42e84def72306afb633651f4e0 (patch)
treefdcf8dc7669a40c763167e80dda789a868b01af0
parent7713ac2ff1fc2950121007e58eada150f42864d6 (diff)
downloadcpython-d3ba10f4b5000d42e84def72306afb633651f4e0.zip
cpython-d3ba10f4b5000d42e84def72306afb633651f4e0.tar.gz
cpython-d3ba10f4b5000d42e84def72306afb633651f4e0.tar.bz2
Clarify the prompt in an example.
This closes SF bug #450633.
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 2a084ff..00d0695 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -1042,7 +1042,7 @@ Perhaps the most well-known statement type is the
\keyword{if} statement. For example:
\begin{verbatim}
->>> x = int(raw_input("Please enter a number: "))
+>>> x = int(raw_input("Please enter an integer: "))
>>> if x < 0:
... x = 0
... print 'Negative changed to zero'