Neil Cerutti wrote: >> BTW, iterating over range(len(a)) is an anti-pattern in Python. > > Unless you're modifying elements of a, surely?
and needs to run on a Python version that doesn't support enumerate. </F> -- http://mail.python.org/mailman/listinfo/python-list