<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuoishimoto</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuoishimoto/</author_url>
  <blog_title>atsuoishimoto's diary</blog_title>
  <blog_url>https://atsuoishimoto.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>さて、 リスト内包のひみつ - atsuoishimoto's diary で、Python3では、リスト内包式は関数呼び出しとなることを説明した。 &gt;&gt;&gt; a = [i*2 for i in range(3)] というスクリプトは、次のように展開される。 &gt;&gt;&gt; def _listcomp(_it): ... ret = [] ... for i in it: ... ret.append(i*2) ... return ret ... &gt;&gt;&gt; _it = range(3) &gt;&gt;&gt; a = _listcomp(it) 通常、この点はあまり気にする必要はないが、問題となるケースもなくはない。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuoishimoto.hatenablog.com%2Fentry%2F2018%2F01%2F29%2F100503&quot; title=&quot;クラスブロックのひみつ - atsuoishimoto&amp;#39;s diary&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>2018-01-29 10:05:03</published>
  <title>クラスブロックのひみつ</title>
  <type>rich</type>
  <url>https://atsuoishimoto.hatenablog.com/entry/2018/01/29/100503</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
