view python/closure.py @ 434:d4f6995812c1

more sensible defaults
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 08 Aug 2013 09:49:54 -0700
parents 6ae566bb1a99
children
line wrap: on
line source

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