iu2 wrote:
Hi,

Playing with imitating lambdas and ruby blocks in Python, I came up
with a very simple construct, for example:

import compiler

   Python supports nested functions.  You don't have to use a lambda
form just to get a local function.  Just write an ordinary nested
def within another def.

                                        John Nagle
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to