view python/closure.py @ 544:ed193fcaa0dc

wip
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 17 Oct 2013 04:37:17 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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