From cea904f28643cb97b2347e98bb418c51bf9b91d3 Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Fri, 30 Dec 2016 11:57:09 +0800 Subject: Issue #29112: Fix a questionable wording in sequence doc. --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 4174f79..71cb7f2 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``. -- cgit v0.12