Method
__aexit__
(
self,
typ: "Optional[Type[BaseException]]",
value: Optional[BaseException],
tb: Optional[types.TracebackType],
)
Source from the content-addressed store, hash-verified
| 454 | await self.acquire() |
| 455 | |
| 456 | async def __aexit__( |
| 457 | self, |
| 458 | typ: "Optional[Type[BaseException]]", |
| 459 | value: Optional[BaseException], |
| 460 | tb: Optional[types.TracebackType], |
| 461 | ) -> None: |
| 462 | self.release() |
| 463 | |
| 464 | |
| 465 | class BoundedSemaphore(Semaphore): |
Callers
nothing calls this directly
Tested by
no test coverage detected