1
0
forked from VimPlug/jedi

replace get_defined_names with scope_names_generator in a lot of places (the cleanup still needs to be done, though).

This commit is contained in:
Dave Halter
2014-07-02 16:12:49 +02:00
parent 749d0121fc
commit 13ada3154b
5 changed files with 39 additions and 15 deletions

View File

@@ -88,6 +88,9 @@ class CompiledObject(Base):
else:
return type_names + self.instance_names()
def scope_names_generator(self, position=None):
yield self, self.get_defined_names()
@underscore_memoization
def instance_names(self):
names = []