2020-11-06から1日間の記事一覧
どうも hrkblog です. 久しぶりの更新になってしまった.... 今回はデコレーターの最終回です. デコレータで動的にデコレートしていきます. 早速コードを見ていきます..!! # plus_arg() is injected into Foo def plus_arg(self, a, b): return a + b # minus…
どうも hrkblog です. 久しぶりの更新になってしまった.... 今回はデコレーターの最終回です. デコレータで動的にデコレートしていきます. 早速コードを見ていきます..!! # plus_arg() is injected into Foo def plus_arg(self, a, b): return a + b # minus…