<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nnhrsk</author_name>
  <author_url>https://blog.hatena.ne.jp/nnhrsk/</author_url>
  <blog_title>_log</blog_title>
  <blog_url>https://nnhrsk.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>他の言語でクロージャ書いていて、Pythonはどうだったっけと思ったのでメモ。 Effective Pythonの項目15に詳しかった。 クロージャの説明については割愛。 引数以外の変数を実行時の環境ではなく、自身が定義された環境（静的スコープ）において解決することを特徴とする。 (https://ja.wikipedia.org/wiki/%E3%82%AF%E3%83%AD%E3%83%BC%E3%82%B8%E3%83%A3) Pythonのスコープ まずPythonのスコープについて。 Pythonだと基本として内側の関数から外側の変数を参照できるが、更新はできない。 # 1.これは動…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnnhrsk.hatenablog.com%2Fentry%2F2016%2F11%2F11%2F230137&quot; title=&quot;Pythonのクロージャについてのメモ - _log&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>http://ecx.images-amazon.com/images/I/51snc8YiL8L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-11-11 23:01:37</published>
  <title>Pythonのクロージャについてのメモ</title>
  <type>rich</type>
  <url>https://nnhrsk.hatenablog.com/entry/2016/11/11/230137</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
