view python/closure.py @ 555:f98fe4362c84

finish
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 19 Nov 2013 14:12:38 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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