many bugfixes related to fast_parser
This commit is contained in:
1 parent
b8b4a02398
commit
2b579eb09b
8 files changed
+95
-52
No files matched your search
+1
-1
@@ -166,7 +166,7 @@ def fast_parent_copy(obj):
|
||||
setattr(new_obj, key, new_elements[value])
|
||||
except KeyError:
|
||||
pass
|
||||
elif key in ['parent_stmt', 'parent_function']:
|
||||
elif key in ['parent_stmt', 'parent_function', 'set_parent']:
|
||||
continue
|
||||
elif isinstance(value, list):
|
||||
setattr(new_obj, key, list_rec(value))
|
||||
|
||||
Reference in new issue
Block a user