[docs] Typo on "3. An Informal Introduction to Python" [version 3.2.2]

Hamid Eftekhari hamid.eftekhari at outlook.com
Tue Jun 25 10:32:17 CEST 2013


Hi there,

I believe there's a tiny typo on this page, section 3.1.2. Strings, where string slicing is introduced. There we read:

>>> 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 must read:

# characters from position 2 (included) to 5 (excluded)



Thanks,
Regards.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130625/7173b669/attachment-0001.html>


More information about the docs mailing list