code: def rename(script, new_name):
      """The `args` / `kwargs` params are the same as in `api.Script`.
      :param new_name: The new name of the script.
      :param script: The source Script object.
      :return: list of changed lines/changed files
      """
      return Refactoring(_rename(script.usages(), new_name))
  
file_path: catboost/contrib/python/jedi/py2/jedi/refactoring.py
imports: import difflib
  from parso import python_bytes_to_unicode, split_lines
  from jedi.evaluate import helpers
label_desc: Use image node_id 1 for calling a global function with example usage: rename(script, new_name) and returns: Refactoring