mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Fixed refactoring.py docstring mistake
Updated parameters in docstring
This commit is contained in:
committed by
Dave Halter
parent
4199ac1a6f
commit
03961bf051
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user