Update src/textual/widgets/_tree.py

Co-authored-by: Dave Pearson <davep@davep.org>
This commit is contained in:
Will McGugan
2022-11-23 17:04:07 +08:00
committed by GitHub
parent b7d628fca5
commit 66b998dbc1

View File

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