1
0
forked from VimPlug/jedi

Fix types tests.

This commit is contained in:
Dave Halter
2014-11-20 11:16:52 +01:00
parent 2c3a7b6d6c
commit 53c2a1679c
2 changed files with 4 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ class Array(IterableWrapper):
It returns e.g. for a list: append, pop, ...
"""
# `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.find_types(compiled.builtin, self.type)[0]
scope = self._evaluator.execute(scope)[0] # builtins only have one class
from jedi.evaluate.representation import get_instance_el
for _, names in scope.scope_names_generator():