摘要: def handle(func): def wrapper(*args, **kwargs): try: return func(*args, **kwargs) except Exception as e: print('sfdsd') return wrapper @handle #捕获异常,后面... 阅读全文
posted @ 2018-03-17 16:36 我是外婆 阅读(726) 评论(0) 推荐(0) 编辑