MCPcopy Create free account
hub / github.com/EasyIME/PIME / __aexit__

Method __aexit__

python/python3/tornado/locks.py:458–464  ·  view source on GitHub ↗
(
        self,
        typ: "Optional[Type[BaseException]]",
        value: Optional[BaseException],
        tb: Optional[types.TracebackType],
    )

Source from the content-addressed store, hash-verified

456 await self.acquire()
457
458 async def __aexit__(
459 self,
460 typ: "Optional[Type[BaseException]]",
461 value: Optional[BaseException],
462 tb: Optional[types.TracebackType],
463 ) -> None:
464 self.release()
465
466
467class BoundedSemaphore(Semaphore):

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.95

Tested by

no test coverage detected