1
0
forked from VimPlug/jedi

Move execute_evaluated to HelperContextMixin

This commit is contained in:
Dave Halter
2019-06-11 17:42:09 +02:00
parent f672d3329a
commit 78973a9f35
8 changed files with 13 additions and 27 deletions

View File

@@ -389,7 +389,7 @@ def _literals_to_types(evaluator, result):
# Literals are only valid as long as the operations are
# correct. Otherwise add a value-free instance.
cls = compiled.builtin_from_name(evaluator, typ.name.string_name)
new_result |= helpers.execute_evaluated(cls)
new_result |= cls.execute_evaluated()
else:
new_result |= ContextSet([typ])
return new_result