mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-28 18:52:20 +08:00
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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user