<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>vernalstar</author_name>
  <author_url>https://blog.hatena.ne.jp/vernalstar/</author_url>
  <blog_title>1001001</blog_title>
  <blog_url>https://73spica.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Python(3.6.3)でクラスを書いていた時に「え，これ動くんだ」と感じた挙動についてメモ． self.クラス変数，&lt;instance&gt;.クラス変数 でクラス変数にアクセスできる (特別な理由がなければ非推奨) クラス変数とインスタンス変数を同名にすることが許される 上二つが混ざるとややこしいことになる まとめ りふぁれんす</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F73spica.hatenablog.com%2Fentry%2F2017%2F11%2F29%2F000132&quot; title=&quot;Pythonのクラスにおけるインスタンス変数とクラス変数の挙動の覚書 - 1001001&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>2017-11-29 00:01:32</published>
  <title>Pythonのクラスにおけるインスタンス変数とクラス変数の挙動の覚書</title>
  <type>rich</type>
  <url>https://73spica.hatenablog.com/entry/2017/11/29/000132</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
