forked from VimPlug/jedi
add memoize decorator to an Instance method, fixes RecursionError of #239
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user