mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-06 01:04:16 +08:00
Evaluator -> InferState
This commit is contained in:
@@ -106,7 +106,7 @@ def _break_check(context, context_scope, flow_scope, node):
|
||||
|
||||
|
||||
def _check_if(context, node):
|
||||
with execution_allowed(context.evaluator, node) as allowed:
|
||||
with execution_allowed(context.infer_state, node) as allowed:
|
||||
if not allowed:
|
||||
return UNSURE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user