changeset 858:f11881a265ee

export 'cache' variable
author Pascal Lamblin <lamblinp@iro.umontreal.ca>
date Thu, 12 Nov 2009 12:24:05 -0500
parents ab7d598f5579
children 3a68b6936303
files pylearn/dataset_ops/memo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/dataset_ops/memo.py	Mon Oct 26 16:33:16 2009 -0400
+++ b/pylearn/dataset_ops/memo.py	Thu Nov 12 12:24:05 2009 -0500
@@ -22,5 +22,6 @@
             del cache[k]
     rval.forget = forget
     rval.__name__ = 'memo@%s'%f.__name__
+    rval.cache = cache
     return rval