forked from VimPlug/jedi
Fixes to the isinstance tests.
This commit is contained in:
@@ -71,7 +71,7 @@ def _fix_forward_reference(context, node):
|
||||
else:
|
||||
module = node.get_parent_until()
|
||||
new_node.move(module.end_pos[0])
|
||||
new_node.parent = module
|
||||
new_node.parent = context.get_node()
|
||||
return new_node
|
||||
else:
|
||||
return node
|
||||
|
||||
Reference in New Issue
Block a user