mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
GitOrigin-RevId: 56876a5dd073a06c3fcc92f63ed1f5674830bc25
16 lines
358 B
HTML
16 lines
358 B
HTML
<html>
|
|
<body>
|
|
<p>Reports situations when you can rewrite dictionary creation
|
|
by using a dictionary literal.</p>
|
|
<p>This approach brings performance improvements.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
dic = {}
|
|
dic['var'] = 1
|
|
</code></pre>
|
|
<p>When the quick-fix is applied, the code changes to:</p>
|
|
<pre><code>
|
|
dic = {'var': 1}
|
|
</code></pre>
|
|
</body>
|
|
</html> |