forked from Mirror/pmbootstrap
pmb: Add more types and fix type errors (MR 2514)
This commit is contained in:
parent
3ee75e61a5
commit
01264bd39f
6 changed files with 102 additions and 38 deletions
|
@ -129,7 +129,7 @@ def parse_suffix(rest: str) -> tuple[str, int, bool]:
|
|||
return (rest, 0, True)
|
||||
|
||||
|
||||
def get_token(previous, rest):
|
||||
def get_token(previous: str, rest: str) -> tuple[str, int, str]:
|
||||
"""
|
||||
This function does three things:
|
||||
* get the next token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue