MultiFile object does not iterate

David Isaac aisaac0 at verizon.net
Wed Aug 10 04:05:00 CEST 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