Skip to content

Commit

Permalink
Merge pull request #5308 from davep/fix-tree-typo
Browse files Browse the repository at this point in the history
Correct a typo in Tree.add
  • Loading branch information
willmcgugan authored Nov 28, 2024
2 parents 74a2c90 + bfdc6c8 commit 55818c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55818c5

Please sign in to comment.