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

Method pop_render_hook

rich/console.py:852–855  ·  view source on GitHub ↗

Pop the last renderhook from the stack.

(self)

Source from the content-addressed store, hash-verified

850 self._render_hooks.append(hook)
851
852 def pop_render_hook(self) -> None:
853 """Pop the last renderhook from the stack."""
854 with self._lock:
855 self._render_hooks.pop()
856
857 def __enter__(self) -> "Console":
858 """Own context manager to enter buffer context."""

Callers 1

stopMethod · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected