view python/closure.py @ 253:8593b0384d3e

add a function for computing primes
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Dec 2012 11:08:21 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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