{"title":"\u95a2\u6570\u306b\u4e0e\u3048\u3089\u308c\u305f * \u5f15\u6570\u3001 ** \u5f15\u6570\u306e\u540d\u524d\u3082\u8abf\u3079\u308b","height":"190","blog_url":"https://fgshun.hatenablog.com/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20090402%2F1238641319\" title=\"\u95a2\u6570\u306b\u4e0e\u3048\u3089\u308c\u305f * \u5f15\u6570\u3001 ** \u5f15\u6570\u306e\u540d\u524d\u3082\u8abf\u3079\u308b - \u9280\u6708\u306e\u7b26\u53f7\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2009-04-02 12:01:59","author_url":"https://blog.hatena.ne.jp/fgshun/","width":"100%","provider_name":"Hatena Blog","author_name":"fgshun","blog_title":"\u9280\u6708\u306e\u7b26\u53f7","type":"rich","image_url":null,"url":"https://fgshun.hatenablog.com/entry/20090402/1238641319","description":"\u95a2\u6570\u306b\u4e0e\u3048\u3089\u308c\u305f\u5f15\u6570\u306e\u540d\u524d\u3092\u8abf\u3079\u308b \u3092\u8aad\u3093\u3067\u3002 func_code \u306e\u5b58\u5728\u3092\u601d\u3044\u51fa\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u65b9\u6cd5\u3060\u3068 * \u5f15\u6570\u3001 ** \u5f15\u6570\u306e\u540d\u524d\u304c\u53d6\u308a\u51fa\u305b\u306a\u3044\u306e\u3067\u8ffd\u52a0\u3092\u3002 inspect \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u51fa\u756a \u7d50\u8ad6\u304b\u3089\u3002inspect.getargspec \u3067\u5f97\u3089\u308c\u307e\u3059\u3002\u884c\u308f\u308c\u3066\u3044\u308b\u306e\u306f func_code \u3089\u306e\u3088\u308a\u4e01\u5be7\u306a\u8abf\u67fb\u3067\u3059\u3002 inspect.getargspec \u3092\u4f7f\u3046\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u307e\u3067\u53d6\u308a\u51fa\u305b\u308b\u304a\u307e\u3051\u304c\u3064\u3044\u3066\u304d\u307e\u3059\u3002 >>> def sample2(self, arg0, arg1=None, *args, **kwargs): ... local0 = None ... local1\u2026","provider_url":"https://hatena.blog","categories":["Python"]}