Files
openide/python/python-psi-impl/resources/inspectionDescriptions/PyClassHasNoInitInspection.html
Louis Vignier 1869ec9da6 [codeInspection] Fix python inspection descriptions
GitOrigin-RevId: 56876a5dd073a06c3fcc92f63ed1f5674830bc25
2023-04-28 13:13:25 +00:00

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>