view python/closure.py @ 315:f8ef5a974df8

add a discard command
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 31 May 2013 15:52:23 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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