view python/closure.py @ 238:05728a85e19b

add prime.py
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 23 Aug 2012 15:06:23 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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