[issue8377] Errata on page:http://docs.python.org/library/stdtypes.html

Jatin Sanghvi report at bugs.python.org
Mon Apr 12 11:11:45 CEST 2010


New submission from Jatin Sanghvi <jatin085 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8377>
_______________________________________


More information about the Python-bugs-list mailing list