Closed thesunlover closed 4 years ago
Repository health decreased by 0.05% when pulling 1ce03ce on nerksi:master into 584965f on MartinThoma:master.
Shouldn't there be a file.close() when using "with" statement?
No, that is the beauty of the with
statement. As soon as the block is over, the exit action (in case of open
it is close
) is executed.
Repository health decreased by 0.03% when pulling 7a3b572 on nerksi:master into 584965f on MartinThoma:master.
Repository health increased by 0.33% when pulling 56e7045 on nerksi:master into 584965f on MartinThoma:master.
@thesunlover Wow, this is crazy - it took 5 years for me to merge this. I'm so sorry... also, that I complained about minor details such as spacing. I merged your change now. Thank you for your support :pray:
https://github.com/MartinThoma/hwrt/issues/17#issuecomment-90996381