Skip to content

Commit cc1f921

Browse files
author
Guido van Rossum
committed
Minor cleanup of subprocess.pyi
1 parent 1ac3c2f commit cc1f921

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stdlib/3/subprocess.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Stubs for subprocess
22

33
# Based on http://docs.python.org/3.5/library/subprocess.html
4-
import sys
5-
64
import sys
75
from typing import Sequence, Any, Mapping, Callable, Tuple, IO, Optional, Union, List
86

@@ -230,7 +228,7 @@ class Popen:
230228
def wait(self) -> int: ...
231229
# Return str/bytes
232230
if sys.version_info >= (3, 3):
233-
def communicate(self, input: Union[str, bytes] = ..., timeout: float =...) -> Tuple[Any, Any]: ...
231+
def communicate(self, input: Union[str, bytes] = ..., timeout: float = ...) -> Tuple[Any, Any]: ...
234232
else:
235233
def communicate(self, input: Union[str, bytes] = ...) -> Tuple[Any, Any]: ...
236234
def send_signal(self, signal: int) -> None: ...

0 commit comments

Comments
 (0)