Some more tests are passing.
This commit is contained in:
1 parent
2f6ba2a7ae
commit
00a8b3e4f1
5 files changed
+57
-47
No files matched your search
@@ -86,6 +86,7 @@ def memoize_method(method):
|
||||
return dct[key]
|
||||
except KeyError:
|
||||
result = method(self, *args, **kwargs)
|
||||
# TODO THIS IS FUNDAMENTALLY WRONG, METHOD SHOULD BE INCLUDED.
|
||||
dct[key] = result
|
||||
return result
|
||||
return wrapper
|
||||
|
||||
Reference in new issue
Block a user