view python/closure.py @ 365:6bbc4867a795

begin porting from shell function
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 11 Jul 2013 17:01:42 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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