Reword the documentation for TreeNode.is_expanded

Make it more property-like.
This commit is contained in:
Dave Pearson
2023-03-01 13:29:18 +00:00
parent 3f90812743
commit e8d0f7a50f

View File

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