Fix class file so it can be used as "with file(...) as f: f.read() # etc."
Fix class file so it can be used as "with file(...) as f: f.read() # etc."

tharvik/typeshed,euresti/typeshed,fyquah95/typeshed,azag0/typeshed,tharvik/typeshed,fyquah95/typeshed,li-dan/typeshed