PEP: statements in control structures

Skip Montanaro skip at pobox.com
Thu Oct 18 17:45:52 EDT 2001


    Rich> Or perhaps along that same vein...
    Rich> while line from file.readline():
    Rich>       ...

Python 2.2 with iterator support already supports

    for line in file:
        ...

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list