2 ms·
Home-brewed context managers are new to me: I had only encountered using them in the standard "with open(...) as f:" case. Can someone who has used them before
by eindiran 9y ago
Home-brewed context managers are new to me: I had only encountered using them in the standard "with open(...) as f:" case. Can someone who has used them before point out a use case for writing your own?