view example/blocks.py @ 77:7d1406181aae

Add ast.SetComp.
author Bastien Orivel <eijebong@bananium.fr>
date Mon, 13 Jun 2016 19:22:59 +0200
parents 3bf4903d1d2c
children
line wrap: on
line source

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