From 03961bf051212f0bc391fdd48ecc0d4cc981454a Mon Sep 17 00:00:00 2001 From: MohamedAlFahim <31521089+MohamedAlFahim@users.noreply.github.com> Date: Fri, 5 Jan 2018 12:49:45 -0800 Subject: [PATCH] Fixed refactoring.py docstring mistake Updated parameters in docstring --- jedi/refactoring.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jedi/refactoring.py b/jedi/refactoring.py index ee938427..6cd8b3f3 100644 --- a/jedi/refactoring.py +++ b/jedi/refactoring.py @@ -50,9 +50,8 @@ class Refactoring(object): def rename(script, new_name): """ The `args` / `kwargs` params are the same as in `api.Script`. - :param operation: The refactoring operation to execute. - :type operation: str - :type source: str + :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))