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

15 lines
325 B
HTML

<html>
<body>
<p>Reports a problem when an argument
passed to the function is equal to the default parameter value.</p>
<p>This inspection is disabled by default to avoid performance degradation.</p>
<p><b>Example:</b></p>
<pre><code>
def my_function(a: int = 2):
print(a)
my_function(2)
</code></pre>
</body>
</html>