view example/blocks.py @ 32:773bc21a89ce

Add a test for Attribute.
author Bastien Orivel <eijebong@bananium.fr>
date Sat, 04 Jun 2016 01:34:12 +0200
parents 3bf4903d1d2c
children
line wrap: on
line source

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