view python/closure.py @ 727:03b66f90916f

works
author Jeff Hammel <k0scist@gmail.com>
date Tue, 02 Dec 2014 13:59:37 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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