Project

General

Profile

Bug #11427 » 0001-string.c-fixed-slice-description.patch

liptonshmidt (Alexey Lipnyagov), 08/10/2015 09:40 AM

View differences:

string.c
* Element Reference --- If passed a single +index+, returns a substring of
* one character at that index. If passed a +start+ index and a +length+,
* returns a substring containing +length+ characters starting at the
* +index+. If passed a +range+, its beginning and end are interpreted as
* +start+ index. If passed a +range+, its beginning and end are interpreted as
* offsets delimiting the substring to be returned.
*
* In these three cases, if an index is negative, it is counted from the end
(1-1/2)