<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a4dosanddos</author_name>
  <author_url>https://blog.hatena.ne.jp/a4dosanddos/</author_url>
  <blog_title>プログラム日記</blog_title>
  <blog_url>https://a4dosanddos.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>「Python のお勉強シリーズ」第６回目は関数デコレータについてサンプルコード書いてみました。関数デコレータは関数に対して機能の追加 / 変更等を行なえる機能になります。ログ出力処理とかそういうのに使えますね。■ decorator.py #coding: cp932 def decoFunc1(func): def log(): print(&quot;call:&quot;,func) return func() return log def decoFunc2(func): def log(): func() print(&quot;call:&quot;,func) return log @decoFunc1 def te…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2015%2F08%2F22%2F122151&quot; title=&quot;Python のお勉強６ ( 関数デコレータ ) - プログラム日記&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>2015-08-22 12:21:51</published>
  <title>Python のお勉強６ ( 関数デコレータ )</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2015/08/22/122151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
