view python/closure.py @ 265:4c11105b05d2

add purge
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 19 Feb 2013 16:01:28 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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