摘要: 注:主要代码解释在注释中 引用: 当解释器执行下面这段代码时,实际上按照从下到上的顺序已经依次调用了 decorator_a 和 decorator_b ,这是会输出对应的 Get in decorator_a 和 Get in decorator_b 。 这时候 f 已经相当于 decorator 阅读全文
posted @ 2018-01-22 16:31 zhoukun 阅读(520) 评论(0) 推荐(0)