Closures / Blocks in Python
Carsten Haese
carsten at uniqsys.com
Tue Jul 24 11:12:36 EDT 2007
On Tue, 2007-07-24 at 14:58 +0000, treble54 wrote:
> Does anyone know a way to use closures or blocks in python like those
> used in Ruby? Particularly those used in the { } braces.
Please describe the problem you're trying to solve. Even if Python had a
direct equivalent of "Ruby closures or blocks", which I don't think it
does, it may not be the best solution to your problem.
--
Carsten Haese
http://informixdb.sourceforge.net
More information about the Python-list
mailing list