Move get_node() to tree_node and replace all the custom classdefs/funcdefs.
This commit is contained in:
1 parent
b44f0aae5d
commit
ae8e43d3c7
24 files changed
+90
-99
No files matched your search
@@ -36,7 +36,7 @@ class MixedObject(object):
|
||||
self.obj = compiled_object.obj
|
||||
self._tree_name = tree_name
|
||||
name_module = tree_name.get_root_node()
|
||||
if parent_context.get_node().get_root_node() != name_module:
|
||||
if parent_context.tree_node.get_root_node() != name_module:
|
||||
from jedi.evaluate.representation import ModuleContext
|
||||
module_context = ModuleContext(evaluator, name_module)
|
||||
name = compiled_object.get_root_context().py__name__()
|
||||
|
||||
Reference in new issue
Block a user