A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-August/135759.html below:

[Python-Dev] Multiline with statement line continuation

[Python-Dev] Multiline with statement line continuation [Python-Dev] Multiline with statement line continuationArmin Rigo arigo at tunes.org
Tue Aug 12 18:57:39 CEST 2014
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4