Steven D'Aprano wrote: > This means we're no longer assuming what the error message will be, > which makes our code a lot more future-proof and implementation-proof: if > some version of Python changes the error string from "iteration over > non-sequence" to something else, the code should continue to work > correctly.
Alex has already posted the right way to do this. can you please stop </F> -- http://mail.python.org/mailman/listinfo/python-list