mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
23 lines
497 B
HTML
23 lines
497 B
HTML
<html>
|
|
<body>
|
|
<p>Reports mismatched parameters in a docstring. For example, <code>b</code> is highlighted, because there is no
|
|
such a parameter in the <code>add</code> function.</p>
|
|
<pre><code>
|
|
def add(a, c):
|
|
"""
|
|
@param a:
|
|
@param b:
|
|
@return:
|
|
"""
|
|
pass
|
|
</code></pre>
|
|
<p>The inspection does not warn you of missing parameters if none of them is mentioned in a docstring:</p>
|
|
<pre><code>
|
|
def mult(a, c):
|
|
"""
|
|
@return:
|
|
"""
|
|
pass
|
|
</code></pre>
|
|
</body>
|
|
</html> |