view python/closure.py @ 726:541560ed190f

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

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