MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __exit__

Method __exit__

tensorflow/python/lib/io/file_io.py:206–208  ·  view source on GitHub ↗

Make usable with "with" statement.

(self, unused_type, unused_value, unused_traceback)

Source from the content-addressed store, hash-verified

204 return self
205
206 def __exit__(self, unused_type, unused_value, unused_traceback):
207 """Make usable with "with" statement."""
208 self.close()
209
210 def __iter__(self):
211 return self

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected