view example/blocks.py @ 46:b3f47c8150c0

Add a test for Break.
author Bastien Orivel <eijebong@bananium.fr>
date Tue, 07 Jun 2016 12:47:23 +0200
parents 3bf4903d1d2c
children
line wrap: on
line source

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