3 ms·
What's wrong with explicitly closing it though?
by dylan604 5y ago
What's wrong with explicitly closing it though?
- jraph 5y agoit's surprising, someone reading the code could wonder why the file was closed while a context manager was used. Maybe it is some workaround? Better avoid surprising things.