摘要: 1. 装饰器监听函数输入输出 def monitor(func): def wrapper(*args, **kwargs): print(f"Function {func.__name__} called with args: {args}, kwargs: {kwargs}") result = 阅读全文
posted @ 2024-03-27 01:53 Zer0_Chambers 阅读(14) 评论(0) 推荐(0) 编辑