view python/closure.py @ 701:de7bf9523e21

-
author Jeff Hammel <k0scist@gmail.com>
date Wed, 13 Aug 2014 13:16:56 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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