{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/hiratara/","height":"190","blog_title":"Pixel Pedals of Tomakomai","blog_url":"https://hiratara.hatenadiary.jp/","version":"1.0","author_name":"hiratara","description":"\u3082\u3046\u4e00\u3064\u3001\u6ca1\u3063\u305f\u30b3\u30fc\u30c9\u3092\u6319\u3052\u3066\u304a\u304d\u307e\u3059\u3002*1 class Base(object): class Inner1(object): pass class Inner2(object): foo = Base.Inner1() # \u2190 \u3053\u308cNG def do_nothing(self): foo = Base.Inner1() # \u2190 \u3053\u3061\u3089\u306fOK print foo Base.Inner2().do_nothing() Traceback (most recent call last): File \"?.py\", line ?, in <module> class Base(object): F\u2026","title":"class\u306e\u5165\u308c\u5b50\u3068\u30b9\u30b3\u30fc\u30d7","url":"https://hiratara.hatenadiary.jp/entry/20080123/1201073976","width":"100%","image_url":null,"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiratara.hatenadiary.jp%2Fentry%2F20080123%2F1201073976\" title=\"class\u306e\u5165\u308c\u5b50\u3068\u30b9\u30b3\u30fc\u30d7 - Pixel Pedals of Tomakomai\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-01-23 16:39:36","categories":["\u6280\u8853"]}