mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
subprocess: Fix return type of check_output.
check_output's return type can be str if universal_newlines=True.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user