From 76b295a66919dcb3719e73011747dbcbc321c1d3 Mon Sep 17 00:00:00 2001 From: Jason Gilholme Date: Mon, 27 Jan 2020 01:21:58 +1100 Subject: [PATCH] subprocess: Make stdin, stdout & stderr Optional for py3 to match py2 (#3652) Closes: #3646 --- stdlib/3/subprocess.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/3/subprocess.pyi b/stdlib/3/subprocess.pyi index 49928b396..57585adbf 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -832,9 +832,9 @@ class CalledProcessError(Exception): class Popen(Generic[AnyStr]): args: _CMD - stdin: IO[AnyStr] - stdout: IO[AnyStr] - stderr: IO[AnyStr] + stdin: Optional[IO[AnyStr]] + stdout: Optional[IO[AnyStr]] + stderr: Optional[IO[AnyStr]] pid: int returncode: int