1.1 --- a/lib/__builtins__/iterable.py Thu Dec 01 21:23:11 2016 +0100
1.2 +++ b/lib/__builtins__/iterable.py Thu Dec 01 23:06:26 2016 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Iteration-related functions.
1.6
1.7 -Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016 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 @@ -19,8 +19,6 @@
1.13 this program. If not, see <http://www.gnu.org/licenses/>.
1.14 """
1.15
1.16 -from __builtins__.span import xrange
1.17 -
1.18 def all(iterable): pass
1.19 def any(iterable): pass
1.20 def enumerate(iterable): pass
1.21 @@ -59,12 +57,6 @@
1.22 lowest = arg
1.23 return lowest
1.24
1.25 -def range(start_or_end, end=None, step=1):
1.26 -
1.27 - "Implementation of range."
1.28 -
1.29 - return list(xrange(start_or_end, end, step))
1.30 -
1.31 def reduce(function, sequence, initial=None): pass
1.32 def reversed(sequence): pass
1.33 def sorted(iterable, cmp=None, key=None, reverse=False): pass