Fixes to the isinstance tests.

This commit is contained in:
Dave Halter
2016-11-28 09:34:59 +01:00
parent c3f6172ca2
commit f6070496ad
8 changed files with 127 additions and 63 deletions
+1 -1
View File
@@ -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