Robin Becker wrote: > Is there a fast way to get enumerate to operate over a slice of an > iterable?
I think you don't need that here:
e = enumerate(active_nodes)
for insert_index, a in e:
# ...
for index, a in e:
# ...
Peter
--
http://mail.python.org/mailman/listinfo/python-list
