aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/posts/python-unbound-local-error
diff options
context:
space:
mode:
Diffstat (limited to 'docs/posts/python-unbound-local-error')
-rw-r--r--docs/posts/python-unbound-local-error/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/posts/python-unbound-local-error/index.html b/docs/posts/python-unbound-local-error/index.html
index 227164a..cba8819 100644
--- a/docs/posts/python-unbound-local-error/index.html
+++ b/docs/posts/python-unbound-local-error/index.html
@@ -128,6 +128,12 @@ f()
g()
</code></pre></div><p><code>(*)</code> のように、<code>nonlocal</code> を追加する。これにより一つ外側のスコープ (<code>g</code> の一つ外側 = <code>f</code>) で定義されている <code>x</code> を探しに行くようになる。</p>
</div>
+ <footer class="post-footer">
+ <ul class="post-tags">
+ <li><a href="https://blog.nsfisis.dev/tags/python">python</a></li>
+ <li><a href="https://blog.nsfisis.dev/tags/python3">python3</a></li>
+ </ul>
+ </footer>
</article></main>
<footer class="footer">