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

13 lines
362 B
HTML

<html>
<body>
<p>Reports cases when the number of expressions on the right-hand side
and targets on the left-hand side are not the same.</p>
<p><b>Example:</b></p>
<pre><code>
t = ('red', 'blue', 'green', 'white')
(c1, c2, c3) = t
</code></pre>
<p>As a quick-fix, you can modify the highlighted code fragment to restore the tuple
balance.</p>
</body>
</html>