Method
__exit__
(
self,
exc_type: "Optional[Type[BaseException]]",
exc_val: Optional[BaseException],
exc_tb: Optional[types.TracebackType],
)
Source from the content-addressed store, hash-verified
| 271 | pass |
| 272 | |
| 273 | def __exit__( |
| 274 | self, |
| 275 | exc_type: "Optional[Type[BaseException]]", |
| 276 | exc_val: Optional[BaseException], |
| 277 | exc_tb: Optional[types.TracebackType], |
| 278 | ) -> None: |
| 279 | self._obj.release() |
| 280 | |
| 281 | |
| 282 | class Semaphore(_TimeoutGarbageCollector): |
Callers
nothing calls this directly
Tested by
no test coverage detected