docstring formatting [skip ci]

This commit is contained in:
Will McGugan
2023-02-12 16:12:02 +00:00
parent 6f815a3b39
commit d0a1eb1783

View File

@@ -1266,8 +1266,9 @@ class App(Generic[ReturnType], DOMNode):
return AwaitMount(self.screen, [])
def install_screen(self, screen: Screen, name: str | None = None) -> AwaitMount:
"""Install a screen. Installing a screen prevents Textual from destroying it when it
is no longer on the screen stack.
"""Install a screen.
Installing a screen prevents Textual from destroying it when it is no longer on the screen stack.
Args:
screen: Screen to install.