mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +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):
|
def rename(script, new_name):
|
||||||
""" The `args` / `kwargs` params are the same as in `api.Script`.
|
""" The `args` / `kwargs` params are the same as in `api.Script`.
|
||||||
:param operation: The refactoring operation to execute.
|
:param new_name: The new name of the script.
|
||||||
:type operation: str
|
:param script: The source Script object.
|
||||||
:type source: str
|
|
||||||
:return: list of changed lines/changed files
|
:return: list of changed lines/changed files
|
||||||
"""
|
"""
|
||||||
return Refactoring(_rename(script.usages(), new_name))
|
return Refactoring(_rename(script.usages(), new_name))
|
||||||
|
|||||||
Reference in New Issue
Block a user