<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>Tips</anon>
  </categories>
  <description>ことのあらまし pythonって綺麗な文法だと思ってたけど、ちょっとこれは酷いと思った。 &gt;&gt;&gt; type(eval(&quot;{}&quot;)) &lt;class 'dict'&gt; &gt;&gt;&gt; type(eval(&quot;{1,2,3}&quot;)) &lt;class 'set'&gt; 僕の言いたいことがわかるだろうか。 &gt;&gt;&gt; hoge = {} # すごくsetに見える 率直に言って事故の元である。というか、ついさっきこれに引っかかって、こんな記事を書いてる。 対策 というほどのことではないが、 &gt;&gt;&gt; set() set() &gt;&gt;&gt; dict() {} 空setが欲しい、空dictが欲しいときは明示的にクラスインスタンスとして生成す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2018%2F03%2F03%2F170303&quot; title=&quot;【python】「{}」はdictだからな！　間違えるんじゃねえぞ！ - 静かなる名辞&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-03-03 17:03:03</published>
  <title>【python】「{}」はdictだからな！　間違えるんじゃねえぞ！</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2018/03/03/170303</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
