Python: Type annotations

This commit is contained in:
Martin Thoma
2022-04-02 10:06:15 +02:00
parent c8f86531e9
commit ac184fec42
25 changed files with 241 additions and 245 deletions

View File

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