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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19fd46132d9a4a14e1202e1d57a5d2c2ea0faee;p=thirdparty%2FPython%2Fcpython.git Issue #29112: Fix a questionable wording in sequence doc. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f3ce44875813..c1cc35c69d35 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``.