mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-25 20:34:32 -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