On 4/23/06, Ivan Krstic <[EMAIL PROTECTED]> wrote: > Crutcher Dunnavant wrote: > > for file in open_files: if file.readable(): > > ... > > > > for line in open(file): if line.strip(): > > I don't like this. It looks unclean and adds an exception to the > conventional Python rules while yielding no particular or significant > benefit.
It doesn't add any exception, it changes how the block syntax works. -- Crutcher Dunnavant <[EMAIL PROTECTED]> littlelanguages.com monket.samedi-studios.com _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
