view python/closure.py @ 340:576edf9dee2e

alt ps2
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 20 Jun 2013 21:36:31 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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