forked from VimPlug/jedi
execute_evaluated -> execute_with_values
This commit is contained in:
@@ -65,7 +65,7 @@ class FunctionMixin(object):
|
||||
)
|
||||
else:
|
||||
cls = self.py__class__()
|
||||
for instance in cls.execute_evaluated():
|
||||
for instance in cls.execute_with_values():
|
||||
for filter in instance.get_filters(search_global=False, origin_scope=origin_scope):
|
||||
yield filter
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ class AbstractInstanceContext(Context):
|
||||
|
||||
def execute_function_slots(self, names, *evaluated_args):
|
||||
return ContextSet.from_sets(
|
||||
name.infer().execute_evaluated(*evaluated_args)
|
||||
name.infer().execute_with_values(*evaluated_args)
|
||||
for name in names
|
||||
)
|
||||
|
||||
|
||||
@@ -793,7 +793,7 @@ class Slice(object):
|
||||
def __getattr__(self, name):
|
||||
if self._slice_object is None:
|
||||
context = compiled.builtin_from_name(self._context.evaluator, 'slice')
|
||||
self._slice_object, = context.execute_evaluated()
|
||||
self._slice_object, = context.execute_with_values()
|
||||
return getattr(self._slice_object, name)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user