<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oXyut9943</author_name>
  <author_url>https://blog.hatena.ne.jp/oXyut9943/</author_url>
  <blog_title>徒然なるままに生活しない為の備忘録</blog_title>
  <blog_url>https://oxyut9943.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>今日は、Python3について本格的に勉強を進めた。 その際、クロージャやらジェネレータやら、難解な用語が出てきたので、復習の意味も込めて、ここにまとめることにする。教科書：「入門Python3」入門 Python 3作者:Bill Lubanovic発売日: 2015/12/01メディア: 単行本（ソフトカバー） クロージャ（関数閉方） クロージャとは、関数内関数の機能の１つで、その関数より外側の変数を記憶したり、変更したりすることができる。 def func(): # これがエンクロージャ x = 5 def add(y): #これがクロージャ return y+x return add …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foxyut9943.hatenablog.com%2Fentry%2F2021%2F02%2F21%2F003412&quot; title=&quot;クロージャ？ジェネレータ？ - 徒然なるままに生活しない為の備忘録&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>https://m.media-amazon.com/images/I/51+xv65qdBL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-21 00:34:12</published>
  <title>クロージャ？ジェネレータ？</title>
  <type>rich</type>
  <url>https://oxyut9943.hatenablog.com/entry/2021/02/21/003412</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
