rope
rope copied to clipboard
The Rename Method refactoring is allowed in the overridden method.
The method that overrides the superclass method receives the refactoring without warning the user that there is a superclass method. It would be nice if Rope could emit a warning in this case.
Steps to reproduce the behavior:
- Code before refactoring:
class MyList(list):
def count(self, strg, case_sensitive=False, *args, **kwargs):
return super(MyList, self).count(strg, *args, **kwargs)
- Apply the Rename Method in MyList.count().