view python/closure.py @ 300:a1c72313b3df

minor mods
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 11 May 2013 17:55:17 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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