asyncio.subprocess: loop is Optional (#3930)

This commit is contained in:
Shantanu authored and GitHub committed 2020-04-20 12:20:08 +02:00
1 parent 8e46eb7b85
commit 626a0f3f73
2 files changed
+2 -6

No files matched your search

+2 -2
View File
@@ -43,7 +43,7 @@ async def create_subprocess_shell(
stdin: Union[int, IO[Any], None] = ...,
stdout: Union[int, IO[Any], None] = ...,
stderr: Union[int, IO[Any], None] = ...,
loop: events.AbstractEventLoop = ...,
loop: Optional[events.AbstractEventLoop] = ...,
limit: int = ...,
**kwds: Any
) -> Process: ...
@@ -54,7 +54,7 @@ async def create_subprocess_exec(
stdin: Union[int, IO[Any], None] = ...,
stdout: Union[int, IO[Any], None] = ...,
stderr: Union[int, IO[Any], None] = ...,
loop: events.AbstractEventLoop = ...,
loop: Optional[events.AbstractEventLoop] = ...,
limit: int = ...,
**kwds: Any
) -> Process: ...