[Python-Dev] Multiline with statement line continuation (original) (raw)
Armin Rigo arigo at tunes.org
Tue Aug 12 18:57:39 CEST 2014
- Previous message: [Python-Dev] Multiline with statement line continuation
- Next message: [Python-Dev] Multiline with statement line continuation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On 12 August 2014 01:08, Allen Li <cyberdupo56 at gmail.com> 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
- Previous message: [Python-Dev] Multiline with statement line continuation
- Next message: [Python-Dev] Multiline with statement line continuation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]