]> granicus.if.org Git - python/commitdiff
revise wording to avoid confusion for non-native English speakers
authorFred Drake <fdrake@acm.org>
Wed, 21 Jul 2004 17:36:47 +0000 (17:36 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 21 Jul 2004 17:36:47 +0000 (17:36 +0000)
(second occurance of the same wording)

Doc/tut/tut.tex

index 06cb67778dd6db8942d2b688910e1cbbd93e6b92..3373ab33187ba12e9a88712b2a6648d4eaec87c7 100644 (file)
@@ -750,7 +750,7 @@ For example:
 'p'
 >>> word[-2:]    # The last two characters
 'pA'
->>> word[:-2]    # All but the last two characters
+>>> word[:-2]    # Everything except the last two characters
 'Hel'
 \end{verbatim}