]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
revise wording to avoid confusion for non-native English speakers
authorFred Drake <fdrake@acm.org>
Wed, 21 Jul 2004 17:34:49 +0000 (17:34 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 21 Jul 2004 17:34:49 +0000 (17:34 +0000)
(second occurance of the same wording)

Doc/tut/tut.tex

index 9ae70e282578867eb23aec47c6de9f3776f2c902..61e56f592f92e3fbaa17fe6e131757320e127f07 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}