[Python-checkins] r54984 - python/trunk/Doc/tut/tut.tex (original) (raw)

steve.holden python-checkins at python.org
Thu Apr 26 16:23:17 CEST 2007


Author: steve.holden Date: Thu Apr 26 16:23:12 2007 New Revision: 54984

Modified: python/trunk/Doc/tut/tut.tex Log: Minor wording change on slicing aide-memoire.

Modified: python/trunk/Doc/tut/tut.tex

--- python/trunk/Doc/tut/tut.tex (original) +++ python/trunk/Doc/tut/tut.tex Thu Apr 26 16:23:12 2007 @@ -813,7 +813,7 @@ IndexError: string index out of range \end{verbatim}

-The best way to remember how slices work is to think of the indices as +One way to remember how slices work is to think of the indices as pointing \emph{between} characters, with the left edge of the first character numbered 0. Then the right edge of the last character of a string of \var{n} characters has index \var{n}, for example:



More information about the Python-checkins mailing list