Re: [Python-Dev] Multiline with statement line continuation

2014年8月12日 10:00:11 -0700

Hi,
On 12 August 2014 01:08, Allen Li <[email protected]> wrote:
> with (open('foo') as foo,
> open('bar') as bar,
> open('baz') as baz,
> open('spam') as spam,
> open('eggs') as eggs):
> pass
+1. It's exactly the same grammar extension as for "from import"
statements, for the same reason.
Armin
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to