mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add some more hints about type hinting
Also add a couple more useful links in the area I'm editing.
This commit is contained in:
@@ -8,7 +8,7 @@ class SelectionListApp(App[None]):
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Header()
|
||||
yield SelectionList[int](
|
||||
yield SelectionList[int]( # (1)!
|
||||
Selection("Falken's Maze", 0, True),
|
||||
Selection("Black Jack", 1),
|
||||
Selection("Gin Rummy", 2),
|
||||
|
||||
Reference in New Issue
Block a user