python 函数式编程 左耳听风
摘要:1. pipeline class Pipe(object): def __init__(self, func): self.func = func print("pipe init") def __ror__(self, other): //再执行或的时候,调用装饰器当中的函数。因为int.__o
阅读全文
posted @ 2020-10-09 18:40
posted @ 2020-10-09 18:40
posted @ 2019-06-09 08:50