From a7754c3effd435c351d11bbd0a3990e7fed95aaf Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Thu, 7 Jul 2016 22:00:30 +0530 Subject: [PATCH] subprocess: Fix return type of check_output. check_output's return type can be str if universal_newlines=True. --- 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 bc8f2d076408..43934b5efa84 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -58,7 +58,7 @@ def check_output(args: Union[str, Sequence[str]], creationflags: int = ..., restore_signals: bool = ..., start_new_session: bool = ..., - pass_fds: Any = ...) -> bytes: ... + pass_fds: Any = ...) -> Any: ... # TODO types PIPE = ... # type: Any