开发者

imp.find_module()

开发者 https://www.devze.com 2023-03-16 05:09 出处:网络
According to the imp.load_module documentation, \"The caller is responsible for closing the file argument.\" If I pass the file object returned from imp.find_module to imp.load_module, am I still resp

According to the imp.load_module documentation, "The caller is responsible for closing the file argument." If I pass the file object returned from imp.find_module to imp.load_module, am I still responsible for closing the file object? Or 开发者_Go百科will imp.load_module close it for me?

0

精彩评论

暂无评论...
验证码 换一张
取 消