{"height":"190","provider_name":"Hatena Blog","url":"https://nishiohirokazu.hatenadiary.org/entry/20080304/1204618942","description":"\u3042\u2026\u3042\u308a\u306e\u307e\u307e \u4eca \u8d77\u3053\u3063\u305f\u4e8b\u3092\u8a71\u3059\u305c\uff01 \u300estaticmethod\u306fmethod\u3067\u306f\u306a\u304b\u3063\u305f\u300f \u306a\u2026 \u4f55\u3092\u8a00\u3063\u3066\u308b\u306e\u304b \u308f\u304b\u3089\u306d\u30fc\u3068\u601d\u3046\u304c \u304a\u308c\u3082\u4f55\u3067\u3053\u3046\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u2026 \u5197\u8ac7\u306f\u3055\u3066\u304a\u304d >>> class Foo(object): def method(self, i): print i >>> Foo.method <unbound method Foo.method> >>> class Foo(object): @staticmethod def method(self, i): print i >>> Foo.method <function method at 0x\u2026","type":"rich","image_url":null,"author_url":"https://blog.hatena.ne.jp/nishiohirokazu/","title":"staticmethod\u306fmethod\u3067\u306f\u306a\u304b\u3063\u305f","provider_url":"https://hatena.blog","blog_url":"https://nishiohirokazu.hatenadiary.org/","published":"2008-03-04 17:22:22","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20080304%2F1204618942\" title=\"staticmethod\u306fmethod\u3067\u306f\u306a\u304b\u3063\u305f - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Python"],"author_name":"nishiohirokazu","width":"100%"}