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:
Dave Pearson
2023-05-25 09:12:57 +01:00
parent 2d544ca697
commit fe26b89803
3 changed files with 28 additions and 3 deletions

View File

@@ -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),

View File

@@ -7,7 +7,7 @@ class SelectionListApp(App[None]):
def compose(self) -> ComposeResult:
yield Header()
yield SelectionList[int](
yield SelectionList[int]( # (1)!
("Falken's Maze", 0, True),
("Black Jack", 1),
("Gin Rummy", 2),