view python/closure.py @ 347:c0f0f82f68ea

better thing
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 26 Jun 2013 09:22:30 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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