Another idea -- use semicolons to separate "as" clauses in
a with statement, and allow newlines after them.

    with open(name1) as f1;
        open(name2) as f2;
        open(name3) as f3:
            ...

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3ZNH2BVKIFV5QX6PDIFSZTUPPRY2FJLK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to