ast.copy_location(new_node, old_node)
Copy source location (lineno and col_offset) from old_node to new_node if possible, and return new_node.
ast.copy_location(new_node, old_node)
Copy source location (lineno and col_offset) from old_node to new_node if possible, and return new_node.
Please login to continue.