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

27 lines
527 B
HTML

<html>
<body>
<p>Reports missing and empty docstrings.</p>
<p><b>Example of a missing docstring</b></p>
<pre><code>
def demo(a):
c = a ** 2
</code></pre>
<p><b>Example of an empty docstring</b></p>
<pre><code>
def demo(a):
"""
"""
c = a ** 2
</code></pre>
<p>When the quick-fix is applied, the code fragments change to:</p>
<pre><code>
def demo(a):
"""
:param a:
"""
c = a ** 2
</code></pre>
<p>You need to provide some details about the parameter in the generated template.</p>
</body>
</html>