def func(): with open(self.yaml_path,'w') as f: info_save=yaml.load(f) if xx: return return 请问一下,这个代码在第一个`return`的时候,能关闭f文件吗?
阅读量:19
点赞量:0