{"provider_url":"https://hatena.blog","height":"190","author_name":"shigemk2","blog_url":"https://www.shigemk2.com/","type":"rich","url":"https://www.shigemk2.com/entry/20130913/1379042689","blog_title":"by shigemk2","version":"1.0","title":"isinstance","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130913%2F1379042689\" title=\"isinstance - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","published":"2013-09-13 12:24:49","provider_name":"Hatena Blog","categories":["Python"],"author_url":"https://blog.hatena.ne.jp/shigemk2/","description":"class Hoge(): def fuga(self): return 'fuga' hoge = Hoge() print hoge print isinstance(hoge, Hoge) print isinstance(hoge, Fuga) True Traceback (most recent call last): print isinstance(hoge, Fuga) NameError: name 'Fuga' is not defined","image_url":null}