]> granicus.if.org Git - python/commitdiff
Issue #29112: Fix a questionable wording in sequence doc.
authorXiang Zhang <angwerzx@126.com>
Fri, 30 Dec 2016 03:55:28 +0000 (11:55 +0800)
committerXiang Zhang <angwerzx@126.com>
Fri, 30 Dec 2016 03:55:28 +0000 (11:55 +0800)
Doc/library/stdtypes.rst

index f3ce448758130b81c8771c1824ca7702806231b4..c1cc35c69d3516a609c80e9f78af8a17a1216fd6 100644 (file)
@@ -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``.