1
0
forked from VimPlug/jedi

add memoize decorator to an Instance method, fixes RecursionError of #239

This commit is contained in:
David Halter
2013-07-10 08:55:23 +02:00
parent 7509c239ec
commit 6cb021f4ae
4 changed files with 19 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ class Instance(use_metaclass(cache.CachedMetaClass, Executable)):
except IndexError:
return None
@cache.memoize_default([])
def get_self_properties(self):
def add_self_dot_name(name):
n = copy.copy(name)