forked from VimPlug/jedi
Move eval_node to one place
This commit is contained in:
@@ -206,7 +206,8 @@ class ValueContext(AbstractContext):
|
||||
|
||||
class TreeContextMixin(object):
|
||||
def infer_node(self, node):
|
||||
return self.inference_state.infer_element(self, node)
|
||||
from jedi.inference.syntax_tree import infer_node
|
||||
return infer_node(self, node)
|
||||
|
||||
def create_value(self, node):
|
||||
from jedi.inference import value
|
||||
|
||||
Reference in New Issue
Block a user