view python/closure.py @ 396:f3472dd25d9e

already at http://k0s.org/portfolio/python/pypi.html
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 29 Jul 2013 22:44:30 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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