view python/closure.py @ 214:06b47566e7f1

add verbose = True
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Mar 2012 07:59:17 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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