summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2016-12-30 03:57:09 (GMT)
committerXiang Zhang <angwerzx@126.com>2016-12-30 03:57:09 (GMT)
commitcea904f28643cb97b2347e98bb418c51bf9b91d3 (patch)
tree55ce064be2579d49c442f7dad5f5d4cc072c17f0 /Doc
parent440d70301b396c1546511157119b7e9e575d48c4 (diff)
downloadcpython-cea904f28643cb97b2347e98bb418c51bf9b91d3.zip
cpython-cea904f28643cb97b2347e98bb418c51bf9b91d3.tar.gz
cpython-cea904f28643cb97b2347e98bb418c51bf9b91d3.tar.bz2
Issue #29112: Fix a questionable wording in sequence doc.
Diffstat (limited to 'Doc')
-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 4174f79..71cb7f2 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``.