'Refactoring function arguments with elpy
I am getting more and more used to working with elpy and damn it is amazing! However I can't seem to utilize the `elpy-refactor-rename' to also include correction in function input e.g.
def mydef(a,b,c):
return a+b
res = mydef(1,2,3)
I want to refactor mydef to
def mydef(a,b):
return a+b
res = mydef(1,2)
The project I am working have a lot of unused arguments and something like this would tremendously help me refactor it all.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
