view python/closure.py @ 561:0d5cf87e5b7e

alias -> function
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 03 Dec 2013 09:14:04 -0800
parents 6ae566bb1a99
children
line wrap: on
line source

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