On Jul 24, 7:58 am, treble54 <[EMAIL PROTECTED]> wrote: > Does anyone know a way to use closures or blocks in python like those > used in Ruby? Particularly those used in the { } braces.
Inner functions allow you to define closures and (named) blocks anywhere). Anonymous blocks must consist of a single expression. -Mike -- http://mail.python.org/mailman/listinfo/python-list