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

Method __exit__

python/python3/tornado/locks.py:273–279  ·  view source on GitHub ↗
(
        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
282class Semaphore(_TimeoutGarbageCollector):

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected