1
0
forked from VimPlug/jedi

Some more tests are passing.

This commit is contained in:
Dave Halter
2016-09-03 03:06:38 +02:00
parent 2f6ba2a7ae
commit 00a8b3e4f1
5 changed files with 57 additions and 47 deletions

View File

@@ -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