view python/closure.py @ 208:3f290bcae11a

wtf
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 13 Feb 2012 16:24:06 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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