view python/closure.py @ 356:915f88af9624

transition
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 28 Jun 2013 10:32:21 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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