parseable_tokens: fix mypy annotations
Signed-off-by: Gregory Becker <becker33@llnl.gov>
This commit is contained in:
parent
e0aa378f9e
commit
b03d5b7885
@ -164,7 +164,7 @@ def tokenize(text: str) -> Iterator[Token]:
|
|||||||
yield token
|
yield token
|
||||||
|
|
||||||
|
|
||||||
def parseable_tokens(text: str) -> List[Token]:
|
def parseable_tokens(text: str) -> Iterator[Token]:
|
||||||
"""Return non-whitespace tokens from the text passed as input
|
"""Return non-whitespace tokens from the text passed as input
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
|
Loading…
Reference in New Issue
Block a user