Skip to content

Commit d9ee14c

Browse files
committed
Merge branch 'new' of https://github.com/apaz-cli/apaz-cli.github.io into new
2 parents 489aa1b + c133d5a commit d9ee14c

3 files changed

+7
-7
lines changed

blog/Cursed_Code_Collection-unstyled.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ <h1 id="cursed-code-collection">Cursed Code Collection</h1>
6767
to my heart. This very example exists in the test suite for the python
6868
interpreter we built at Lightning AI. Python closures don't work in
6969
quite the way you think they do. For a more complete explanation, see:
70-
<img
71-
src="https://utcc.utoronto.ca/~cks/space/blog/python/UnderstandingClosureOddity"
72-
alt="Understanding a Python closure oddity" />.</p>
70+
<a
71+
href="https://utcc.utoronto.ca/~cks/space/blog/python/UnderstandingClosureOddity">Understanding
72+
a Python closure oddity</a>.</p>
7373
<div class="sourceCode" id="cb4"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="kw">def</span> loop():</span>
7474
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a> <span class="cf">for</span> number <span class="kw">in</span> <span class="bu">range</span>(<span class="dv">5</span>):</span>
7575
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> <span class="kw">def</span> closure():</span>

blog/Cursed_Code_Collection.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ <h1 id="cursed-code-collection">Cursed Code Collection</h1>
380380
to my heart. This very example exists in the test suite for the python
381381
interpreter we built at Lightning AI. Python closures don't work in
382382
quite the way you think they do. For a more complete explanation, see:
383-
<img
384-
src="https://utcc.utoronto.ca/~cks/space/blog/python/UnderstandingClosureOddity"
385-
alt="Understanding a Python closure oddity" />.</p>
383+
<a
384+
href="https://utcc.utoronto.ca/~cks/space/blog/python/UnderstandingClosureOddity">Understanding
385+
a Python closure oddity</a>.</p>
386386
<div class="sourceCode" id="cb4"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="kw">def</span> loop():</span>
387387
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a> <span class="cf">for</span> number <span class="kw">in</span> <span class="bu">range</span>(<span class="dv">5</span>):</span>
388388
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> <span class="kw">def</span> closure():</span>

blog/Cursed_Code_Collection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ This one is from a hackernews post, but quickly became near and dear to
7777
my heart. This very example exists in the test suite for the python
7878
interpreter we built at Lightning AI. Python closures don't work in
7979
quite the way you think they do. For a more complete explanation, see:
80-
![Understanding a Python closure oddity](https://utcc.utoronto.ca/~cks/space/blog/python/UnderstandingClosureOddity).
80+
[Understanding a Python closure oddity](https://utcc.utoronto.ca/~cks/space/blog/python/UnderstandingClosureOddity).
8181

8282
```py
8383
def loop():

0 commit comments

Comments
 (0)