1.1 --- a/lib/__builtins__/unicode.py Sun Jan 29 22:56:43 2017 +0100
1.2 +++ b/lib/__builtins__/unicode.py Mon Jan 30 00:31:25 2017 +0100
1.3 @@ -179,17 +179,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 utf8string(unicode_substr(self.__data__, start, end, step), self.encoding)
1.21 + l = get_using(basestring.__get_multiple_items__, self)(start, end, step)
1.22 + return utf8string("".join(l), self.encoding)
1.23
1.24 def unicode(s, encoding):
1.25