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

Method __exit__

rich/live.py:187–193  ·  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

185 return self
186
187 def __exit__(
188 self,
189 exc_type: Optional[Type[BaseException]],
190 exc_val: Optional[BaseException],
191 exc_tb: Optional[TracebackType],
192 ) -> None:
193 self.stop()
194
195 def _enable_redirect_io(self) -> None:
196 """Enable redirecting of stdout / stderr."""

Callers

nothing calls this directly

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected