[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 3.4 ___ Pytho

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f16fa5223cc by Ezio Melotti in branch '3.3': #18403: fix an off-by-one typo noticed by Xue Fuqiao. http://hg.python.org/cpython/rev/6f16fa5223cc New changeset d41adb657bd4 by Ezio Melotti in branch 'default': #18403: merge with 3.3. http://hg.pytho

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Madison May
Madison May added the comment: Nope, definitely an error! Good catch, Xue. -- nosy: +madison.may ___ Python tracker ___ ___ Python-bu

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Xue Fuqiao
New submission from Xue Fuqiao: In http://docs.python.org/3.3/tutorial/introduction.html#strings: In addition to indexing, slicing is also supported. While indexing is used to obtain individual characters, slicing allows you to obtain substring: >>> word[0:2] # characters from position