mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Improve a docstring
Co-authored-by: Will McGugan <willmcgugan@gmail.com>
This commit is contained in:
@@ -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.
|
callback: An optional callback function that is called if the screen is dismissed with a result.
|
||||||
|
|
||||||
Returns:
|
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)):
|
if not isinstance(screen, (Screen, str)):
|
||||||
raise TypeError(
|
raise TypeError(
|
||||||
|
|||||||
Reference in New Issue
Block a user