<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fgshun</author_name>
  <author_url>https://blog.hatena.ne.jp/fgshun/</author_url>
  <blog_title>銀月の符号</blog_title>
  <blog_url>https://fgshun.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>「003:変数と定数」を追加。役に立たない文章の予感。言語仕様を知るにはこんなのより原典(http://docs.python.org/reference/executionmodel.html#naming-and-binding)とソースコードにあたるべきだから。書いた際に自分の復習になったのはたしかだけれども。 nonlocal これを書いていた際に思い出したのでメモ。 Python 3 から使えるようになった新顔の「文」、 nonlocal。関数がネストしているとき、内の関数ブロックから外の関数ブロックの変数へ代入を可能とする。もうクロージャ書きにくいとか言われない、かも？ でも、こん…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20091207%2F1260191018&quot; title=&quot;Python レシピ追加、変数と定数 - 銀月の符号&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-12-07 22:03:38</published>
  <title>Python レシピ追加、変数と定数</title>
  <type>rich</type>
  <url>https://fgshun.hatenablog.com/entry/20091207/1260191018</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
