fix format_token return typehints
This commit is contained in:
parent
43fbbe7279
commit
6ef4c0ea3e
1 changed files with 2 additions and 2 deletions
|
@ -110,11 +110,11 @@ def parse_number(s: str) -> str:
|
|||
return str(number)
|
||||
|
||||
def format_tokens(s: str, sigil: str="$"
|
||||
) -> typing.List[typing.Tuple[int, str]]:
|
||||
) -> typing.List[typing.Tuple[int, int, str]]:
|
||||
i = 0
|
||||
max = len(s)-1
|
||||
sigil_found = False
|
||||
tokens: typing.List[typing.Tuple[int, str]] = []
|
||||
tokens: typing.List[typing.Tuple[int, int, str]] = []
|
||||
|
||||
while i < max:
|
||||
if s[i] == sigil:
|
||||
|
|
Loading…
Reference in a new issue