From 8d1026cadeb2262d274f449eed79602f76504eab Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 15 Oct 2016 21:12:32 -0700 Subject: [PATCH] Fix timeout parameter to Popen.wait() -- it is optional (in both senses). --- 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 db359b1f1..11b108fd4 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -229,7 +229,7 @@ class Popen: def poll(self) -> int: ... if sys.version_info >= (3, 3): # 3.3 added timeout - def wait(self, timeout: float) -> int: ... + def wait(self, timeout: Optional[float] = ...) -> int: ... else: def wait(self) ->int: ... # Return str/bytes