semicolon at end of python's statements

Roy Smith roy at panix.com
Mon Sep 2 13:53:48 EDT 2013


In article <mailman.508.1378143885.19984.python-list at python.org>,
 "albert visser" <albert.visser at gmail.com> wrote:

> I like being able to do e.g.
> 
>      with open('some_file') as _in, open('another_file', 'w') as _out:

It would be nice if you could write that as:

      with open('some_file'), open('another_file, 'w') as _in, _out:



More information about the Python-list mailing list