view python/closure.py @ 209:e39d514d0eff

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

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