summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2016-12-30 03:55:28 (GMT)
committerXiang Zhang <angwerzx@126.com>2016-12-30 03:55:28 (GMT)
commita19fd46132d9a4a14e1202e1d57a5d2c2ea0faee (patch)
tree8b559cefae043418b4e2b5037a2098a2fd5bbeff
parent4d42af136bb62f138d2d119c244caeaac78cc9ad (diff)
downloadcpython-a19fd46132d9a4a14e1202e1d57a5d2c2ea0faee.zip
cpython-a19fd46132d9a4a14e1202e1d57a5d2c2ea0faee.tar.gz
cpython-a19fd46132d9a4a14e1202e1d57a5d2c2ea0faee.tar.bz2
Issue #29112: Fix a questionable wording in sequence 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 f3ce448..c1cc35c 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -819,7 +819,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``.