Files
openide/python/testData/wrap/BackslashOnWrap.after.py

4 lines
198 B
Python

def copy_location(new_node, old_node):
for attr in 'lineno', 'col_offset':
if attr in old_node._attributes and attr in new_node._attributes and \
hasattr(old_node, attr):