New submission from Jatin Sanghvi <jatin...@gmail.com>:

Open link: http://docs.python.org/library/stdtypes.html

The statement:

If i or j is negative, the index is relative to the end of the string: len(s) + 
i or len(s) + j is substituted.

is incorrect, should be:

If i or j is negative, the index is relative to the end of the string: len(s) - 
i or len(s) - j is substituted.

----------
assignee: georg.brandl
components: Documentation
messages: 102927
nosy: georg.brandl, jatin085
severity: normal
status: open
title: Errata on page:http://docs.python.org/library/stdtypes.html
versions: Python 2.6, Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8377>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to