PyDocs

Nav

Python Language Services

copy_location

ast

function (source)
  • copy_location(new_node, old_node)
Copy source location (`lineno`, `col_offset`, `end_lineno`, and `end_col_offset`
attributes) from *old_node* to *new_node* if possible, and return *new_node*.
0 Examples
No examples for ast/copy_location.
See Also
No see-alsos for ast/copy_location
0 Notes
No notes for copy_location