1.1 --- a/lib/__builtins__/str.py Sun Jan 29 22:56:43 2017 +0100
1.2 +++ b/lib/__builtins__/str.py Mon Jan 30 00:31:25 2017 +0100
1.3 @@ -537,17 +537,16 @@
1.4 intervals.
1.5 """
1.6
1.7 - start = self._confine_index(start)
1.8 - end = self._confine_index(end)
1.9 + if start == end:
1.10 + return ""
1.11 +
1.12 check_int(step)
1.13
1.14 if step == 0:
1.15 raise ValueError(step)
1.16
1.17 - if start == end:
1.18 - return ""
1.19 -
1.20 - return str_substr(self.__data__, start, end, step)
1.21 + l = get_using(basestring.__get_multiple_items__, self)(start, end, step)
1.22 + return "".join(l)
1.23
1.24 def str(obj):
1.25