From cc1f92103d965eab6dc3878afb683ed71bbb56d3 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 5 Aug 2016 17:32:17 -0700 Subject: [PATCH] Minor cleanup of subprocess.pyi --- stdlib/3/subprocess.pyi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stdlib/3/subprocess.pyi b/stdlib/3/subprocess.pyi index 880b08ed6..b1669771c 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -1,8 +1,6 @@ # Stubs for subprocess # Based on http://docs.python.org/3.5/library/subprocess.html -import sys - import sys from typing import Sequence, Any, Mapping, Callable, Tuple, IO, Optional, Union, List @@ -230,7 +228,7 @@ class Popen: def wait(self) -> int: ... # Return str/bytes if sys.version_info >= (3, 3): - def communicate(self, input: Union[str, bytes] = ..., timeout: float =...) -> Tuple[Any, Any]: ... + def communicate(self, input: Union[str, bytes] = ..., timeout: float = ...) -> Tuple[Any, Any]: ... else: def communicate(self, input: Union[str, bytes] = ...) -> Tuple[Any, Any]: ... def send_signal(self, signal: int) -> None: ...