{"width":"100%","categories":["python","snippet"],"blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","title":"\u30e2\u30b8\u30e5\u30fc\u30eb\u5185\u3067\u305d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u53c2\u7167\u3092\u5f97\u308b","image_url":null,"version":"1.0","published":"2013-01-01 00:37:22","provider_name":"Hatena Blog","type":"rich","blog_url":"https://y0m0r.hateblo.jp/","author_name":"yuheiomori0718","url":"https://y0m0r.hateblo.jp/entry/20130101/1357054642","description":"\u3061\u3087\u3063\u3068\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002StackOverFlow\u3067\u898b\u3064\u3051\u305f\u56de\u7b54\u304c\u3053\u3093\u306a\u611f\u3058 import sys current_module = sys.modules[__name__] \u3061\u3083\u3093\u3068\u3068\u308c\u3066\u307e\u3059 import sys import unittest from types import ModuleType class SelfModuleReferenceTest(unittest.TestCase): def test_self_reference(self): current_module = sys.modules[__name__] self.assertIsInst\u2026","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130101%2F1357054642\" title=\"\u30e2\u30b8\u30e5\u30fc\u30eb\u5185\u3067\u305d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u53c2\u7167\u3092\u5f97\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}