make shlex.shlex Iterator (#12756)

This commit is contained in:
Stephen Morton
2024-10-08 21:48:44 -07:00
committed by GitHub
parent 2b1c7d55b9
commit f42ebdfa61

View File

@@ -27,7 +27,7 @@ def join(split_command: Iterable[str]) -> str: ...
def quote(s: str) -> str: ...
# TODO: Make generic over infile once PEP 696 is implemented.
class shlex(Iterable[str]):
class shlex:
commenters: str
wordchars: str
whitespace: str