This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xfq
Recipients docs@python, xfq
Date 2013-07-08.10:36:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373279812.84.0.20851379601.issue18403@psf.upfronthosting.co.za>
In-reply-to
Content
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 0 (included) to 2 (excluded)
  'Py'
  >>> word[2:5]  # characters from position 2 (included) to 4 (excluded)
  'tho'

I think the second comment should be "from position 2 to 5", not "to 4".
I'm a Python newbie, sorry if it's not a bug.
History
Date User Action Args
2013-07-08 10:36:52xfqsetrecipients: + xfq, docs@python
2013-07-08 10:36:52xfqsetmessageid: <1373279812.84.0.20851379601.issue18403@psf.upfronthosting.co.za>
2013-07-08 10:36:52xfqlinkissue18403 messages
2013-07-08 10:36:52xfqcreate