Method
__exit__
(self, typ: Optional[Type[BaseException]], value: Optional[BaseException], traceback: Optional[TracebackType])
Source from the content-addressed store, hash-verified
| 21 | pass |
| 22 | |
| 23 | def __exit__(self, typ: Optional[Type[BaseException]], value: Optional[BaseException], traceback: Optional[TracebackType]) -> Literal[False]: |
| 24 | if isinstance(value, self._exception): |
| 25 | self._counter.inc() |
| 26 | return False |
| 27 | |
| 28 | def __call__(self, f: "F") -> "F": |
| 29 | def wrapped(func, *args, **kwargs): |
Callers
nothing calls this directly
Tested by
no test coverage detected