Skip to content

Commit

Permalink
subprocess: Fix return type of check_output.
Browse files Browse the repository at this point in the history
check_output's return type can be str if universal_newlines=True.
  • Loading branch information
sharmaeklavya2 committed Jul 7, 2016
1 parent 2ce0e95 commit a7754c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/3/subprocess.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7754c3

Please sign in to comment.