From: Xiang Zhang Date: Fri, 30 Dec 2016 03:57:09 +0000 (+0800) Subject: Issue #29112: Fix a questionable wording in sequence doc. X-Git-Tag: v3.5.3rc1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cea904f28643cb97b2347e98bb418c51bf9b91d3;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 4174f79a897b..71cb7f264357 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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``.