python 装饰器总结

class Dec(object): @staticmethod def fundec(fun): print('1') def _fundec(*keys): print('2') fun(*keys) print('3') print('4')
相关文章
相关标签/搜索