]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #29112: Fix a questionable wording in sequence doc.
authorXiang Zhang <angwerzx@126.com>
Fri, 30 Dec 2016 03:57:09 +0000 (11:57 +0800)
committerXiang Zhang <angwerzx@126.com>
Fri, 30 Dec 2016 03:57:09 +0000 (11:57 +0800)
Doc/library/stdtypes.rst

index 4174f79a897ba1a8814ed061bafb0e350fa33cf4..71cb7f2643576eaafd068af749ba917f606cda46 100644 (file)
@@ -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``.