[Python-checkins] cpython (2.7): Issue #29112: Fix a questionable wording in sequence doc.

xiang.zhang python-checkins at python.org
Thu Dec 29 23:01:46 EST 2016


https://hg.python.org/cpython/rev/0d20da97a6a0
changeset:   105890:0d20da97a6a0
branch:      2.7
parent:      105872:d87771d1c1e6
user:        Xiang Zhang <angwerzx at 126.com>
date:        Fri Dec 30 11:55:28 2016 +0800
summary:
  Issue #29112: Fix a questionable wording in sequence doc.

files:
  Doc/library/stdtypes.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -819,7 +819,7 @@
    :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``.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list