A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-July/067216.html below:

[Python-Dev] Explicit Lexical Scoping (pre-PEP?)

[Python-Dev] Explicit Lexical Scoping (pre-PEP?) [Python-Dev] Explicit Lexical Scoping (pre-PEP?)Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jul 11 01:32:22 CEST 2006
Guido van Rossum wrote:

> Then let's allow
> 
>   nonlocal x = 12
> 
> as a shortcut for
> 
>   nonlocal x
>   x = 12

I thought you didn't like that, because in

   nonlocal x = 12
   x = 42

it's not clear whether these are talking about the same
x or not.

--
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