mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
351 B
HTML
17 lines
351 B
HTML
<html>
|
|
<body>
|
|
<p>Reports cases in Python 2 when a class has no <code>__init__</code> method, neither its parent
|
|
classes.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
class Book():
|
|
pass
|
|
</code></pre>
|
|
<p>The quick-fix adds the <code>__init__</code> method:</p>
|
|
<pre><code>
|
|
class Book():
|
|
def __init__(self):
|
|
pass
|
|
</code></pre>
|
|
</body>
|
|
</html> |