1.1 --- a/lib/__builtins__/unicode.py Sun Jan 29 18:52:35 2017 +0100
1.2 +++ b/lib/__builtins__/unicode.py Sun Jan 29 22:56:43 2017 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Unicode objects.
1.6
1.7 -Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -179,8 +179,8 @@
1.13 intervals.
1.14 """
1.15
1.16 - self._check_index(start)
1.17 - self._check_end_index(end)
1.18 + start = self._confine_index(start)
1.19 + end = self._confine_index(end)
1.20 check_int(step)
1.21
1.22 if step == 0: