MCPcopy
hub / github.com/Textualize/rich / __exit__

Method __exit__

rich/progress.py:296–303  ·  view source on GitHub ↗
(
        self,
        exc_type: Optional[Type[BaseException]],
        exc_val: Optional[BaseException],
        exc_tb: Optional[TracebackType],
    )

Source from the content-addressed store, hash-verified

294 return self.reader.__enter__()
295
296 def __exit__(
297 self,
298 exc_type: Optional[Type[BaseException]],
299 exc_val: Optional[BaseException],
300 exc_tb: Optional[TracebackType],
301 ) -> None:
302 self.progress.stop()
303 self.reader.__exit__(exc_type, exc_val, exc_tb)
304
305
306def wrap_file(

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45
__exit__Method · 0.45

Tested by

no test coverage detected