Function decorator that caches function results

Fredrik Lundh fredrik at pythonware.com
Tue Oct 11 08:46:22 EDT 2005


Tom Anderson wrote:

> Okay, a crack at a definition: a closure is a function in which some of
> the variable names refer to variables outside the function. And i don't
> mean global variables - i mean somebody else's locals; call them 'remote
> variables'.

in Python, the global variables are someone else's locals.

</F> 






More information about the Python-list mailing list