2 ms·I believe exhaust(file.close() for file in files) should work as well, no need for the extra parens.by elteto 5y agoI believe exhaust(file.close() for file in files) should work as well, no need for the extra parens.