view python/closure.py @ 790:d4403d13fb31

correct
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Oct 2016 18:37:16 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

directory = 'foo'
bar = lambda: directory
directory = 'fleem'
print bar()