Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/introduction.rst @ 84505:6f16fa5223cc 3.3
#18403: fix an off-by-one typo noticed by Xue Fuqiao.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Mon, 08 Jul 2013 17:52:54 +0200 |
| parents | bde91dddbcbc |
| children |
line wrap: on
line diff
--- a/Doc/tutorial/introduction.rst Mon Jul 08 17:48:29 2013 +0200 +++ b/Doc/tutorial/introduction.rst Mon Jul 08 17:52:54 2013 +0200 @@ -262,7 +262,7 @@ >>> word[0:2] # characters from position 0 (included) to 2 (excluded) 'Py' - >>> word[2:5] # characters from position 2 (included) to 4 (excluded) + >>> word[2:5] # characters from position 2 (included) to 5 (excluded) 'tho' Note how the start is always included, and the end always excluded. This
