We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bbb6a0 commit efb4dcdCopy full SHA for efb4dcd
src/textual/app.py
@@ -2944,9 +2944,9 @@ def panic(self, *renderables: RenderableType) -> None:
2944
Args:
2945
*renderables: Text or Rich renderable(s) to display on exit.
2946
"""
2947
- assert all(is_renderable(renderable) for renderable in renderables), (
2948
- "Can only call panic with strings or Rich renderables"
2949
- )
+ assert all(
+ is_renderable(renderable) for renderable in renderables
+ ), "Can only call panic with strings or Rich renderables"
2950
2951
def render(renderable: RenderableType) -> list[Segment]:
2952
"""Render a panic renderables."""
0 commit comments