view python/closure.py @ 411:9d6e7a471fc7

wip
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 04 Aug 2013 15:58:31 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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