view python/closure.py @ 387:0aee0da6b06b

even more success
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 26 Jul 2013 16:20:22 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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