view example/blocks.py @ 54:ad2453a55820

Refactor all Vec<T> -> Vec<String> functions into a single one.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 12 Jun 2016 02:17:23 +0100
parents 3bf4903d1d2c
children
line wrap: on
line source

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