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/attachments/20100403/f75c68df/attachment.html below:

What do we think of adding a built-in nonlocals() function that would<div>be similar to globals() and locals()?  Like those functions, it would</div><div>return a dictionary of variable names and their values. Since we now</div>
<div>have the nonlocal statement, it would be consistent to keep the</div><div>three scopes local/nonlocal/global with parallel capabilities. And it</div><div>might sometimes be useful for code inside a nested function to see</div>
<div>what variables are available at the enclosing level.</div><div><br></div><div>Steve Bonner</div><div><br></div>

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