mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
21 lines
494 B
HTML
21 lines
494 B
HTML
<html>
|
|
<body>
|
|
<p>Reports inconsistencies in overriding method signatures.</p>
|
|
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
class Book:
|
|
def add_title(self):
|
|
pass
|
|
|
|
|
|
class Novel(Book):
|
|
def add_title(self, text):
|
|
pass
|
|
</code></pre>
|
|
|
|
<p>Parameters of the <code>add_title</code> method in the <code>Novel</code> class do not match the method
|
|
signature specified in the <code>Book</code> class. As a fix, the IDE offers to apply the Change Signature
|
|
refactoring.</p>
|
|
</body>
|
|
</html> |