|
|
@ -56,7 +56,7 @@ |
|
|
|
|
|
|
|
<body> |
|
|
|
<header> |
|
|
|
<aside>March 25, 2025</aside> |
|
|
|
<aside>March 27, 2025</aside> |
|
|
|
<a href="https://gto76.github.io" rel="author">Jure Šorn</a> |
|
|
|
</header> |
|
|
|
|
|
|
@ -639,10 +639,10 @@ func(*args, **kwargs) |
|
|
|
┗━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━┛ |
|
|
|
</code></pre></div> |
|
|
|
|
|
|
|
<div><h3 id="otheruses">Other Uses</h3><pre><code class="python language-python hljs"><list> = [*<collection> [, ...]] <span class="hljs-comment"># Or: list(<collection>) [+ ...]</span> |
|
|
|
<tuple> = (*<collection>, [...]) <span class="hljs-comment"># Or: tuple(<collection>) [+ ...]</span> |
|
|
|
<set> = {*<collection> [, ...]} <span class="hljs-comment"># Or: set(<collection>) [| ...]</span> |
|
|
|
<dict> = {**<dict> [, ...]} <span class="hljs-comment"># Or: <dict> | ...</span> |
|
|
|
<div><h3 id="otheruses">Other Uses</h3><pre><code class="python language-python hljs"><list> = [*<collection> [, ...]] <span class="hljs-comment"># Or: list(<coll>) [+ ...]</span> |
|
|
|
<tuple> = (*<collection>, [...]) <span class="hljs-comment"># Or: tuple(<coll>) [+ ...]</span> |
|
|
|
<set> = {*<collection> [, ...]} <span class="hljs-comment"># Or: set(<coll>) [| ...]</span> |
|
|
|
<dict> = {**<dict>, ...} <span class="hljs-comment"># Or: <dict> | ...</span> |
|
|
|
</code></pre></div> |
|
|
|
|
|
|
|
<pre><code class="python language-python hljs">head, *body, tail = <collection> <span class="hljs-comment"># Head or tail can be omitted.</span> |
|
|
@ -2944,7 +2944,7 @@ $ deactivate <span class="hljs-comment"># Deactivates the active |
|
|
|
|
|
|
|
|
|
|
|
<footer> |
|
|
|
<aside>March 25, 2025</aside> |
|
|
|
<aside>March 27, 2025</aside> |
|
|
|
<a href="https://gto76.github.io" rel="author">Jure Šorn</a> |
|
|
|
</footer> |
|
|
|
|
|
|
|
xxxxxxxxxx