Do you really need to use the iter function here?  As far as I can
tell, a file object is already an iterator.  The file object
documentation says that, "[a] file object is its own iterator, for
example iter(f) returns f (unless f is closed)."  It doesn't look like
it makes a difference one way or the other, I'm just curious.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to