From bfdc6c87bc6a4024a370a07653ea33795cd102c4 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 28 Nov 2024 14:29:32 +0000 Subject: [PATCH] Correct a typo in Tree.add --- src/textual/widgets/_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widgets/_tree.py b/src/textual/widgets/_tree.py index 79c64be224..c0aae200a8 100644 --- a/src/textual/widgets/_tree.py +++ b/src/textual/widgets/_tree.py @@ -374,7 +374,7 @@ def add( before: Optional index or `TreeNode` to add the node before. after: Optional index or `TreeNode` to add the node after. expand: Node should be expanded. - allow_expand: Allow use to expand the node via keyboard or mouse. + allow_expand: Allow user to expand the node via keyboard or mouse. Returns: A new Tree node