Method
__exit__
(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: TracebackType | None,
)
Source from the content-addressed store, hash-verified
| 41 | return self |
| 42 | |
| 43 | def __exit__( |
| 44 | self, |
| 45 | exc_type: type[BaseException] | None, |
| 46 | exc: BaseException | None, |
| 47 | exc_tb: TracebackType | None, |
| 48 | ) -> Literal[False]: |
| 49 | if self.locked: |
| 50 | self.release() |
| 51 | return False |
| 52 | |
| 53 | def __del__(self) -> None: |
| 54 | if self.locked: |
Callers
nothing calls this directly
Tested by
no test coverage detected