MultiFile object does not iterate

David Isaac aisaac0 at verizon.net
Tue Aug 9 22:05:00 EDT 2005


Why is a MultiFile object not an iterator?
For example if
mfp = multifile.MultiFile(fp)I cannot dofor line in mfp:
do_somethingRelated:MultiFile.next seems badly named.(Something like
next_section would be better.)Is this just historical accident or am I
missing the point?Thanks,Alan Isaac





More information about the Python-list mailing list