parseable_tokens: fix mypy annotations
Signed-off-by: Gregory Becker <becker33@llnl.gov>
This commit is contained in:
@@ -164,7 +164,7 @@ def tokenize(text: str) -> Iterator[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
|
||||
|
||||
Raises:
|
||||
|
||||
Reference in New Issue
Block a user