view python/closure.py @ 769:489204193cd7

fix syntax
author Jeff Hammel <k0scist@gmail.com>
date Fri, 12 Feb 2016 09:53:58 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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