[Python-checkins] r52054 - python/branches/release24-maint/Doc/tut/tut.tex

georg.brandl python-checkins at python.org
Sat Sep 30 09:24:53 CEST 2006


Author: georg.brandl
Date: Sat Sep 30 09:24:53 2006
New Revision: 52054

Modified:
   python/branches/release24-maint/Doc/tut/tut.tex
Log:
Bug #1567375: a minor logical glitch in example description.
 (backport from rev. 52053)

Modified: python/branches/release24-maint/Doc/tut/tut.tex
==============================================================================
--- python/branches/release24-maint/Doc/tut/tut.tex	(original)
+++ python/branches/release24-maint/Doc/tut/tut.tex	Sat Sep 30 09:24:53 2006
@@ -3017,6 +3017,7 @@
  8  64  512
  9  81  729
 10 100 1000
+
 >>> for x in range(1,11):
 ...     print '%2d %3d %4d' % (x, x*x, x*x*x)
 ... 
@@ -3032,8 +3033,9 @@
 10 100 1000
 \end{verbatim}
 
-(Note that one space between each column was added by the way
-\keyword{print} works: it always adds spaces between its arguments.)
+(Note that in the first example, one space between each column was
+added by the way \keyword{print} works: it always adds spaces between
+its arguments.)
 
 This example demonstrates the \method{rjust()} method of string objects,
 which right-justifies a string in a field of a given width by padding


More information about the Python-checkins mailing list