mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Reword the documentation for TreeNode.is_expanded
Make it more property-like.
This commit is contained in:
@@ -161,7 +161,7 @@ class TreeNode(Generic[TreeDataType]):
|
||||
|
||||
@property
|
||||
def is_expanded(self) -> bool:
|
||||
"""Check if the node is expanded."""
|
||||
"""Is the node expanded?"""
|
||||
return self._expanded
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user