view python/closure.py @ 348:6004e00b602d

new hg file; TODO: incorporate!
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 26 Jun 2013 17:39:15 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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