view python/closure.py @ 276:dc20e1fa93d0

add a thing to make a temporary buffer
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 18 Apr 2013 16:14:09 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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