view example/blocks.py @ 14:719a27f1c1c7

Add ast.ListComp
author Bastien Orivel <eijebong@bananium.fr>
date Thu, 02 Jun 2016 20:40:24 +0200
parents 3bf4903d1d2c
children
line wrap: on
line source

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