Functions Are Objects: Indirect Calls : Function Object « Function « Python Tutorial






def echo(message):                  
    print message 

x = echo                            
x('Hello world!')








10.9.Function Object
10.9.1.Functions Are Objects: Indirect Calls
10.9.2.stuff function objects into data structures