MCPcopy
hub / github.com/tornadoweb/tornado / __aexit__

Method __aexit__

tornado/locks.py:456–462  ·  view source on GitHub ↗
(
        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
465class BoundedSemaphore(Semaphore):

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.95

Tested by

no test coverage detected