We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Method refactoring applied to a method defined in a super class does not modify the signature of the method in the classes that override it
class BaseFormat(object): def __init__(self, fp, **kwargs): pass def to_iterable(self): raise NotImplementedError('Must implement a "to_iterable" method.') class DelimitedFormat(BaseFormat): def __init__(self, fp, **kwargs): BaseFormat.__init__(self, fp, **kwargs) def to_iterable(self): return None
Apply the Rename Method refactoring with any new name to 'BaseFormat.to_iterable'
Expected code after refactoring:
class BaseFormat(object): def __init__(self, fp, **kwargs): pass def new_method_name(self): raise NotImplementedError('Must implement a "to_iterable" method.') class DelimitedFormat(BaseFormat): def __init__(self, fp, **kwargs): BaseFormat.__init__(self, fp, **kwargs) def new_method_name(self): return None
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Rename Method refactoring applied to a method defined in a super class does not modify the signature of the method in the classes that override it
Apply the Rename Method refactoring with any new name to 'BaseFormat.to_iterable'
Expected code after refactoring:
The text was updated successfully, but these errors were encountered: