<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidehara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidehara/</author_url>
  <blog_title>AWS / PHP / Python ちょいメモ</blog_title>
  <blog_url>https://hideharaaws.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>python 書いてると”ふと”気になる self と cls を調べメモ。なんで書くのかなぁという疑問が解消すると、結構気持ちよくかけるようになった気がします。書いてる人には、あたりまえ話ですいません。# 各種メソッドとかスコープについては、何も説明ないので、別のサイトみて確認ください self について クラスの中で定義する インスタンス・メソッド (instance method)では、必ず第一引数に self を書きます。 class MyClass(object): def instance_method(self, x, y): print x+y my = MyClass() m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2015%2F10%2F06%2F131848&quot; title=&quot;self と cls とかが何か気になって調べてみた + @staticmethod - AWS / PHP / Python ちょいメモ&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>2015-10-06 13:18:48</published>
  <title>self と cls とかが何か気になって調べてみた + @staticmethod</title>
  <type>rich</type>
  <url>https://hideharaaws.hatenablog.com/entry/2015/10/06/131848</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
