Package memtools :: Module pattern
[hide private]

Module pattern

source code

Classes [hide private]
  Memorized
This class wraps a normal callable and returns a memorized callable with a "memo" storage. End users are not intended to know what happens inside this class, neither they should know about it.
  memorize
The memorize decorator takes a Memory (or Memory-compatible) object and masks the Memorized decorator to keep the original signature clean.

Imports: wraps, md5, logging