commit | 539e9b34b9329d7ad4b4ceaf962b3e0360e1089a | [log] [tgz] |
---|---|---|
author | Michele Di Giorgio <michele.digiorgio@arm.com> | Wed Jun 22 17:54:59 2016 +0100 |
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | Thu Jun 23 09:51:47 2016 +0100 |
tree | 11d0e7b34b83e546e066c038b1733754c866ba7c | |
parent | ee521f64e6f3f982db62186a9efa506c65ba9178 [diff] |
devlib/utils/misc: improve memoize decorator Using the wrapt module we can improve the memoize decorator. In fact, it allows to preserve the attributes of the memoized function, such as signature, docstring, path to the file where the function is implemented, and so on. Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>