<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>podhmo</author_name>
  <author_url>https://blog.hatena.ne.jp/podhmo/</author_url>
  <blog_title>podhmoの日記</blog_title>
  <blog_url>https://podhmo.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>最終的には、汎用的なデコレータ除去の方法が見つからなかった。 対象 pythonのデコレータが分かる クロージャが分かる。 デコレータをかけた関数のデコレータを取り除きたいと思っている 色々調べて見たところ、デコレータを付与する前の関数を取り出す方法が分かった。。。と、思った。 # -*- coding:utf-8 -*- ### decoraltors def inc(f): &quot;&quot;&quot;+1するデコレータ&quot;&quot;&quot; def _inc(x): return f(x+1) return _inc def dec(f): &quot;&quot;&quot;-1するデコレータ&quot;&quot;&quot; def _dec(x): return f(x+1)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpodhmo.hatenadiary.org%2Fentry%2F20110401%2F1301669253&quot; title=&quot;デコレータを取り除いて見たかった。 - podhmoの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-04-01 23:47:33</published>
  <title>デコレータを取り除いて見たかった。</title>
  <type>rich</type>
  <url>https://podhmo.hatenadiary.org/entry/20110401/1301669253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
