摘要: import functools from threading import Thread def timeout(timeout): ''' 从stackoverflow上找到的我自认为ok的超时装饰器,十分好用 ''' def deco(func): @functools.wraps(func) 阅读全文
posted @ 2021-01-25 21:52 P-Z-W 阅读(38) 评论(0) 推荐(0) 编辑