摘要: 类装饰器装饰类方法 不带参数 from functools import wraps import types class CatchException: def __init__(self,origin_func): wraps(origin_func)(self) def __get__(sel 阅读全文
posted @ 2020-05-25 14:03 秋华 阅读(906) 评论(0) 推荐(0)