mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Make a property docstring more property-a-like
This commit is contained in:
@@ -21,11 +21,7 @@ class Pilot:
|
||||
|
||||
@property
|
||||
def app(self) -> App:
|
||||
"""Get a reference to the application.
|
||||
|
||||
Returns:
|
||||
App: The App instance.
|
||||
"""
|
||||
"""App: A reference to the application."""
|
||||
return self._app
|
||||
|
||||
async def press(self, *keys: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user