[Twisted-Python] Semantics sought: lambda?

Sergio Trejo serj_trejo at hotmail.com
Thu Jul 15 07:03:12 EDT 2004

In the Twisted documentation, there are several examples and references that 
use the term "lambda" but I can't find any semantic definition of what 
lambda is about. For example:

d.addCallback(lambda object: object.callRemote("echo", "hello network"))

I'm kind of new to Python and prior to Twisted, I have not seen this type of 
syntax before:

"lambda object: "

Any references would be appreciated.


Add photos to your messages with MSN 8. Get 2 months FREE*. 

More information about the Twisted-Python mailing list