[docs] Trivial error in documentation

Brad Aylsworth brad.aylsworth at gmail.com
Tue Jun 11 20:03:45 CEST 2013


On http://docs.python.org/3.3/tutorial/introduction.html#strings I found 
an error that really doesn't matter and that most people can probably 
understand as a typo, but I thought I'd report it.

>>>word[0:2]   # characters from position 0 (included) to 2 (excluded)
'Py'
>>>word[2:*5*]   # characters from position 2 (included) to*4*  (excluded)
'tho'

As far as I can tell, that should say "5 (excluded)".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130611/133732a5/attachment-0001.html>


More information about the docs mailing list