Fixed refactoring.py docstring mistake

Updated parameters in docstring
This commit is contained in:
MohamedAlFahim
2018-01-05 12:49:45 -08:00
committed by Dave Halter
parent 4199ac1a6f
commit 03961bf051

View File

@@ -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))