except KeyError, everywhere
Ben Finney
ben+python at benfinney.id.au
Fri Jun 3 20:37:28 EDT 2011
Ben Finney <ben+python at benfinney.id.au> writes:
> It's best to implement Memoize as a Python decorator in one place
> <URL:http://wiki.python.org/moin/PythonDecoratorLibrary#Memoize>.
Michele Simionato discusses a better implementation of a Memoize
decorator in the documentation for his useful ‘decorator’ library
<URL:http://micheles.googlecode.com/hg/decorator/documentation.html>.
--
\ “Stop — Drive sideways.” —detour sign, Kyushu, Japan |
`\ |
_o__) |
Ben Finney
More information about the Python-list
mailing list