Method
__exit__
(
self,
exc_type: type[BaseException] | None,
exc_val: BaseException | None,
exc_tb: TracebackType | None,
)
Source from the content-addressed store, hash-verified
| 98 | return self |
| 99 | |
| 100 | def __exit__( |
| 101 | self, |
| 102 | exc_type: type[BaseException] | None, |
| 103 | exc_val: BaseException | None, |
| 104 | exc_tb: TracebackType | None, |
| 105 | ) -> typing.Literal[False]: |
| 106 | self.close() |
| 107 | # Return False to re-raise any potential exceptions |
| 108 | return False |
| 109 | |
| 110 | def close(self) -> None: |
| 111 | """ |
Callers
nothing calls this directly
Tested by
no test coverage detected