mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update src/textual/widgets/_tree.py
Co-authored-by: Dave Pearson <davep@davep.org>
This commit is contained in:
@@ -38,7 +38,7 @@ class _TreeLine:
|
||||
|
||||
@property
|
||||
def node(self) -> TreeNode:
|
||||
"""The node associated with this line."""
|
||||
"""TreeNode: The node associated with this line."""
|
||||
return self.path[-1]
|
||||
|
||||
def _get_guide_width(self, guide_depth: int, show_root: bool) -> int:
|
||||
|
||||
Reference in New Issue
Block a user