From 551dade39de0aae455fe4c3d0efb1c66de581261 Mon Sep 17 00:00:00 2001 From: Miguel Gaiowski Date: Fri, 16 Feb 2018 22:50:28 -0800 Subject: [PATCH 1/2] Add stub for subprocess.list2cmdline function --- stdlib/3/subprocess.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/3/subprocess.pyi b/stdlib/3/subprocess.pyi index 8bb75ab23863..45251c8e07c7 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -350,4 +350,6 @@ class Popen: def getstatusoutput(cmd: _TXT) -> Tuple[int, str]: ... def getoutput(cmd: _TXT) -> str: ... +def list2cmdline(seq: Sequence[str]) -> str: ... + # Windows-only: STARTUPINFO etc. From 304c2ea55c46be5cbd2494eb0dd9cf7fad6283ec Mon Sep 17 00:00:00 2001 From: Miguel Gaiowski Date: Thu, 1 Mar 2018 16:49:53 -0800 Subject: [PATCH 2/2] Add undocumented comment --- stdlib/3/subprocess.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/subprocess.pyi b/stdlib/3/subprocess.pyi index 45251c8e07c7..41ddb9a616e4 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -350,6 +350,6 @@ class Popen: def getstatusoutput(cmd: _TXT) -> Tuple[int, str]: ... def getoutput(cmd: _TXT) -> str: ... -def list2cmdline(seq: Sequence[str]) -> str: ... +def list2cmdline(seq: Sequence[str]) -> str: ... # undocumented # Windows-only: STARTUPINFO etc.