mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Removed enumerate.
This commit is contained in:
parent
e3364e0fdd
commit
62fbcccdf4
@ -217,10 +217,6 @@ def reviter(L):
|
||||
for i in xrange(len(L) - 1, -1, -1):
|
||||
yield L[i]
|
||||
|
||||
def enumerate(L):
|
||||
for i in xrange(len(L)):
|
||||
yield (i, L[i])
|
||||
|
||||
def window(L, size):
|
||||
if size < 1:
|
||||
raise ValueError, 'size <= 0 unallowed.'
|
||||
|
Loading…
Reference in New Issue
Block a user