create_subprocess_shell takes a single positional argument (#3929)

This commit is contained in:
Anthony Sottile
2020-04-19 04:46:37 -07:00
committed by GitHub
parent 84147ec9cb
commit 8e46eb7b85

View File

@@ -39,7 +39,7 @@ class Process:
async def create_subprocess_shell(
*Args: Union[str, bytes], # Union used instead of AnyStr due to mypy issue #1236
cmd: Union[str, bytes], # Union used instead of AnyStr due to mypy issue #1236
stdin: Union[int, IO[Any], None] = ...,
stdout: Union[int, IO[Any], None] = ...,
stderr: Union[int, IO[Any], None] = ...,