summaryrefslogtreecommitdiff
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2016-12-30 11:57:09 +0800
committerXiang Zhang <angwerzx@126.com>2016-12-30 11:57:09 +0800
commitd3baeb4fa2aabae359a2dab75cc438a900778257 (patch)
treed8a6aaa1a44c04fb5565be251a3ed2c0b585a1ef /Doc/library/stdtypes.rst
parente050ebe52479a1e91afb02b23215afe7737e7a6d (diff)
downloadcpython-d3baeb4fa2aabae359a2dab75cc438a900778257.tar.gz
Issue #29112: Fix a questionable wording in sequence doc.
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 4174f79a89..71cb7f2643 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -927,7 +927,7 @@ Notes:
:ref:`faq-multidimensional-list`.
(3)
- If *i* or *j* is negative, the index is relative to the end of the string:
+ If *i* or *j* is negative, the index is relative to the end of sequence *s*:
``len(s) + i`` or ``len(s) + j`` is substituted. But note that ``-0`` is
still ``0``.