Skip to content

Commit 55818c5

Browse files
authored
Merge pull request #5308 from davep/fix-tree-typo
Correct a typo in Tree.add
2 parents 74a2c90 + bfdc6c8 commit 55818c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/widgets/_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def add(
374374
before: Optional index or `TreeNode` to add the node before.
375375
after: Optional index or `TreeNode` to add the node after.
376376
expand: Node should be expanded.
377-
allow_expand: Allow use to expand the node via keyboard or mouse.
377+
allow_expand: Allow user to expand the node via keyboard or mouse.
378378
379379
Returns:
380380
A new Tree node

0 commit comments

Comments
 (0)