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/2012-November/122551.html below:

[Python-Dev] Okay to document the "exec tuple" form of the exec statement in Python 2.7?

[Python-Dev] Okay to document the "exec tuple" form of the exec statement in Python 2.7? [Python-Dev] Okay to document the "exec tuple" form of the exec statement in Python 2.7?Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 5 22:51:01 CET 2012
Nick Coghlan wrote:
> On Mon, Nov 5, 2012 at 10:08 PM, Mark Dickinson <dickinsm at gmail.com> wrote:
> 
>>In Python 2, the 'exec' statement supports 'exec'-ing a (statement,
>>globals, locals) tuple:

If this is a deliberate feature, I'd guess it's because exec
is a statement rather than a function in Python 2, so you
can't use * to pass a tuple of arguments to it.

-- 
Greg


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