[Python-ideas] Where-statement (Proposal for function expressions)
Daniel Stutzbach
daniel at stutzbachenterprises.com
Thu Jul 16 21:26:08 CEST 2009
On Thu, Jul 16, 2009 at 1:20 PM, MRAB <python at mrabarnett.plus.com> wrote:
> bar = "outside"
> local:
> nonlocal foo
> bar = "inside"
> foo = bar
>
"nonlocal" requires that "foo" is already defined in an enclosing scope.
--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090716/7d194168/attachment.html>
More information about the Python-ideas
mailing list