add copyanno for safety
This commit is contained in:
parent
e9e0d0f2bc
commit
1a1b07304b
@ -144,6 +144,7 @@ class BreakTransformer(converter.Base):
|
|||||||
orelse=node.orelse)
|
orelse=node.orelse)
|
||||||
|
|
||||||
new_for_node = node[0]
|
new_for_node = node[0]
|
||||||
|
anno.copyanno(original_node, new_for_node, 'extra_test')
|
||||||
anno.copyanno(original_node, new_for_node, anno.Basic.DIRECTIVES)
|
anno.copyanno(original_node, new_for_node, anno.Basic.DIRECTIVES)
|
||||||
|
|
||||||
return node
|
return node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user