Removed enumerate.

This commit is contained in:
Jeremy Fincher 2003-08-17 08:43:23 +00:00
parent e3364e0fdd
commit 62fbcccdf4

View File

@ -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.'