{"description":"\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3053\u3068 Class\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u3059\u308b\u307e\u3048\u306b\u3001method\u3092\u547c\u3073\u51fa\u305b\u308b\u3053\u3068\u304c\u7406\u89e3\u3067\u304d\u306a\u304b\u3063\u305f\u3002 \u4e0b\u8a18\u306eclass\u3067test.methodtest()\u3068\u3057\u305f\u304b\u3063\u305f\u3002 class test: def __init__(self): print('\u521d\u671f\u5316') def methodtest(self): print('method_test') return self \u308f\u304b\u3063\u305f\u3053\u3068 class test: def __init__(self): print('\u521d\u671f\u5316') @classmethod <-- \u3053\u3044\u3064\u304c\u5fc5\u8981\u3060\u3063\u305f\u3002 def methodtest(self): print('met\u2026","categories":["Python","\u52c9\u5f37"],"type":"rich","image_url":null,"provider_name":"Hatena Blog","blog_url":"https://snuow.hatenablog.com/","author_name":"snuow","url":"https://snuow.hatenablog.com/entry/2019/05/08/070000","published":"2019-05-08 07:00:00","width":"100%","provider_url":"https://hatena.blog","title":"\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u304a\u52c9\u5f37 @classmethod","blog_title":"\u50d5\u304c\u30c7\u30fc\u30bf\u5206\u6790\u8005\u3068\u3057\u3066\u899a\u9192\u3059\u308b\u307e\u3067","author_url":"https://blog.hatena.ne.jp/snuow/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsnuow.hatenablog.com%2Fentry%2F2019%2F05%2F08%2F070000\" title=\"\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u304a\u52c9\u5f37 @classmethod - \u50d5\u304c\u30c7\u30fc\u30bf\u5206\u6790\u8005\u3068\u3057\u3066\u899a\u9192\u3059\u308b\u307e\u3067\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190"}