diff --git a/src/textual/app.py b/src/textual/app.py index ac35e35a8..e7503664f 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -1392,7 +1392,7 @@ class App(Generic[ReturnType], DOMNode): callback: An optional callback function that is called if the screen is dismissed with a result. Returns: - An awaitable that awaits the mounting of the screen and its children. + An optional awaitable that awaits the mounting of the screen and its children. """ if not isinstance(screen, (Screen, str)): raise TypeError(