1
0
forked from VimPlug/jedi

Use builtins_module instead of BUILTINS

This commit is contained in:
Dave Halter
2017-12-10 18:52:51 +01:00
parent afb73876ac
commit 3a7bc92863
10 changed files with 20 additions and 22 deletions

View File

@@ -221,7 +221,7 @@ def eval_atom(context, atom):
@_limit_context_infers
def eval_expr_stmt(context, stmt, seek_name=None):
with recursion.execution_allowed(context.evaluator, stmt) as allowed:
if allowed or context.get_root_context() == context.evaluator.BUILTINS:
if allowed or context.get_root_context() == context.evaluator.builtins_module:
return _eval_expr_stmt(context, stmt, seek_name)
return NO_CONTEXTS