From: Xiang Zhang Date: Fri, 30 Dec 2016 03:55:28 +0000 (+0800) Subject: Issue #29112: Fix a questionable wording in sequence doc. X-Git-Tag: v2.7.14rc1~312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a19fd46132d9a4a14e1202e1d57a5d2c2ea0faee;p=python Issue #29112: Fix a questionable wording in sequence doc. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f3ce448758..c1cc35c69d 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``.