[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #29112: Merge 3.5.
xiang.zhang
python-checkins at python.org
Thu Dec 29 23:01:46 EST 2016
https://hg.python.org/cpython/rev/b09d0a2587da
changeset: 105892:b09d0a2587da
branch: 3.6
parent: 105888:44fffbc8f970
parent: 105891:f4b747f59804
user: Xiang Zhang <angwerzx at 126.com>
date: Fri Dec 30 11:57:40 2016 +0800
summary:
Issue #29112: Merge 3.5.
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
@@ -927,7 +927,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