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/2005-October/057293.html below:

[Python-Dev] PEP 3000 and exec

[Python-Dev] PEP 3000 and exec [Python-Dev] PEP 3000 and execSokolov Yura falcon at intercable.ru
Tue Oct 11 08:33:43 CEST 2005
Agree.
 >>>i=1
 >>>def a():
    i=2
    def b():
        print i
    return b
    
 >>>a()()
2
 >>>def a():
    i=2
    def b():
        exec "print i"
    return b
    
 >>>a()()
1

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