view python/closure.py @ 560:d15ee034bdf1

.bashrc
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 28 Nov 2013 01:36:43 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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