Improve a docstring

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
This commit is contained in:
Dave Pearson
2023-04-19 11:40:34 +01:00
committed by GitHub
parent 9123a80aa5
commit 768a235f3a

View File

@@ -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(