7 Sep
2021
7 Sep
'21
2:36 a.m.
On 7/09/21 5:46 am, C. Titus Brown via Python-ideas wrote:
Maybe Greg missed that DictReader.open didn’t exist and was in fact what I was asking for!
Sorry about that, I thought you were asking for context manager methods to be added to an existing file-like object. If csv.DictReader had a close() method you could use closing() on it, but it seems it doesn't, so closing() doesn't really help here. -- Greg