view python/closure.py @ 574:00f5e55cbce8

elif+then
author Jeff Hammel <k0scist@gmail.com>
date Fri, 17 Jan 2014 14:58:26 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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