]> granicus.if.org Git - python/commitdiff
Clarify the prompt in an example.
authorFred Drake <fdrake@acm.org>
Tue, 14 Aug 2001 19:55:42 +0000 (19:55 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 14 Aug 2001 19:55:42 +0000 (19:55 +0000)
This closes SF bug #450633.

Doc/tut/tut.tex

index 2a084ffa9b2fbd0600b95f326679c715e47d5f5e..00d06958e7fae229ae05f1c13493512cd7802432 100644 (file)
@@ -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'