1
0
forked from VimPlug/jedi

Remove some get_defined_names methods, that are not needed anymore.

This commit is contained in:
Dave Halter
2014-07-03 12:12:50 +02:00
parent 1fd7acef7a
commit 22e5574a91
4 changed files with 9 additions and 28 deletions

View File

@@ -183,8 +183,8 @@ class Array(use_metaclass(CachedMetaClass, pr.Base)):
# `array.type` is a string with the type, e.g. 'list'.
scope = self._evaluator.find_types(compiled.builtin, self._array.type)[0]
scope = self._evaluator.execute(scope)[0] # builtins only have one class
names = scope.get_defined_names()
yield self, [ArrayMethod(n) for n in names]
for _, names in scope.scope_names_generator():
yield self, [ArrayMethod(n) for n in names]
@common.safe_property
def parent(self):