mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
3 lines
159 B
Python
3 lines
159 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 <caret> |