I was confused before. It's correct to not call .close() inside the with
statement, but add a comment that clarifies the purpose of the code.
Showing
Please register or sign in to comment
statement, but add a comment that clarifies the purpose of the code.