cpython: b0b17b41edfc (original) (raw)

Mercurial > cpython

changeset 105806:b0b17b41edfc 3.5

Issue #1446619: Account for negative slice direction in description Based on suggestion from Fumihiro Bessho. [#1446619]

Martin Panter vadmium+py@gmail.com
date Sat, 24 Dec 2016 08:25:15 +0000
parents a33472f8a2c6
children 031af2160094 3f94e3c7dcc5
files Doc/library/stdtypes.rst
diffstat 1 files changed, 4 insertions(+), 2 deletions(-)[+] [-] Doc/library/stdtypes.rst 6

line wrap: on

line diff

--- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -942,8 +942,10 @@ Notes: The slice of s from i to j with step k is defined as the sequence of items with index x = i + n*k such that 0 <= n < (j-i)/k. In other words, the indices are i, i+k, i+2*k, i+3*k and so on, stopping when