[Python-ideas] stealing "var" from javascript

Mathias Panzenböck grosser.meister.morti at gmx.net
Thu Apr 10 17:47:50 CEST 2008


It would also help with local functions!

def foo():
    var x = 1

    def bar(y):
       x += y * 2

    bar(55)



More information about the Python-ideas mailing list