1
0
forked from VimPlug/jedi

Move the dynamic arrays code

This commit is contained in:
Dave Halter
2019-08-25 17:07:50 +02:00
parent d31ca7e9f0
commit b7febc1960
3 changed files with 170 additions and 162 deletions

View File

@@ -18,6 +18,7 @@ from jedi.inference.value.function import \
from jedi.inference.value.klass import ClassValue, apply_py__get__, \
ClassFilter
from jedi.inference.value import iterable
from jedi.inference.value.dynamic_arrays import get_dynamic_array_instance
from jedi.parser_utils import get_parent_scope
@@ -263,7 +264,7 @@ class TreeInstance(AbstractInstanceValue):
and parent_context.get_root_context().is_builtins_module():
# compare the module path with the builtin name.
if settings.dynamic_array_additions:
var_args = iterable.get_dynamic_array_instance(self, var_args)
var_args = get_dynamic_array_instance(self, var_args)
super(TreeInstance, self).__init__(inference_state, parent_context,
class_value, var_args)