From 6207eb8cde83e43800822ffaa75413d90127dd75 Mon Sep 17 00:00:00 2001 From: Sergey Passichenko Date: Sun, 14 May 2017 13:41:38 -0700 Subject: [PATCH] Add args attribute to subprocess.Popen (#1267) --- stdlib/3/subprocess.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/3/subprocess.pyi b/stdlib/3/subprocess.pyi index 36e5c5c9e..bd9e6cfb7 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -266,6 +266,8 @@ class CalledProcessError(Exception): stderr: Optional[_TXT] = ...) -> None: ... class Popen: + if sys.version_info >= (3, 3): + args = ... # type: _CMD stdin = ... # type: IO[Any] stdout = ... # type: IO[Any] stderr = ... # type: IO[Any]