MCPcopy Create free account
hub / github.com/PyTables/PyTables / __exit__

Method __exit__

tables/file.py:2945–2948  ·  view source on GitHub ↗

Exit a context and close the file.

(self, *exc_info)

Source from the content-addressed store, hash-verified

2943 return self
2944
2945 def __exit__(self, *exc_info) -> bool:
2946 """Exit a context and close the file."""
2947 self.close()
2948 return False # do not hide exceptions
2949
2950 def __str__(self) -> str:
2951 """Return a short string representation of the object tree.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected