Skip to content

Commit

Permalink
Fix tree widget example typing
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 9, 2024
1 parent b997b39 commit 8e895f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/widgets/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class TreeApp(App):
def compose(self) -> ComposeResult:
tree: Tree[dict] = Tree("Dune")
tree: Tree[str] = Tree("Dune")
tree.root.expand()
characters = tree.root.add("Characters", expand=True)
characters.add_leaf("Paul")
Expand Down

0 comments on commit 8e895f3

Please sign in to comment.