view python/closure.py @ 373:8d4a0a2a5038

not sure what i did
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 24 Jul 2013 02:38:16 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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