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/2003-October/039600.html below:

[Python-Dev] closure semantics

[Python-Dev] closure semantics [Python-Dev] closure semanticsDelaney, Timothy C (Timothy) tdelaney at avaya.com
Sun Oct 26 22:25:19 EST 2003
> From: Skip Montanaro [mailto:skip at pobox.com]
> 
> You meant
> 
>     def f():
>         x = 12
>         y = 1
>         def g():
>             y = 12
>             global y in f
>         g()
>         print locals()
> 
> right?

Er - yes ... :)

Tim Delaney

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