MCPcopy Index your code
hub / github.com/python/cpython / __exit__

Method __exit__

Lib/fileinput.py:243–244  ·  view source on GitHub ↗
(self, type, value, traceback)

Source from the content-addressed store, hash-verified

241 return self
242
243 def __exit__(self, type, value, traceback):
244 self.close()
245
246 def __iter__(self):
247 return self

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected