view example/blocks.py @ 12:0e96c5bc401d

Remove the need for a Box in BlockStatement.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 02 Jun 2016 03:14:01 +0100
parents 3bf4903d1d2c
children
line wrap: on
line source

def a(b):
    def c():
        return b
    b = 2
    return c()
print(a(1))