view python/closure.py @ 777:ef6731a4ad86

close enough
author Jeff Hammel <k0scist@gmail.com>
date Sun, 03 Jul 2016 18:48:38 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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