1
0
forked from VimPlug/jedi

Merge branch 'dev' of git://github.com/davidhalter/jedi

This commit is contained in:
Laurens Van Houtven
2013-07-10 12:06:35 +02:00
7 changed files with 23 additions and 5 deletions
+1 -3
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)
@@ -110,9 +111,6 @@ class Instance(use_metaclass(cache.CachedMetaClass, Executable)):
add_self_dot_name(n)
for s in self.base.get_super_classes():
if s == self.base:
# I don't know how this could happen... But saw it once.
continue
names += Instance(s).get_self_properties()
return names