view python/closure.py @ 225:6206b22cabf1

adding again
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 22 May 2012 04:18:46 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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