mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-09 19:57:33 -08:00
Python: Type annotations
This commit is contained in:
@@ -96,7 +96,7 @@ def maybe_comma(state: State) -> None:
|
||||
state.u = 0
|
||||
|
||||
|
||||
def pick_phrase(state: State):
|
||||
def pick_phrase(state: State) -> None:
|
||||
state.i = random.randint(0, 4)
|
||||
state.j += 1
|
||||
state.k += 1
|
||||
|
||||
Reference in New Issue
Block a user