From 46c8e25443bdc7da66609bbaf89fb65a23932ab7 Mon Sep 17 00:00:00 2001 From: Alexander R Date: Tue, 24 Nov 2026 18:57:31 +0200 Subject: [PATCH] Fix the `check_output()` example output in the `subprocess` docs (GH-162237) (cherry picked from commit 8d3bdd36fa02216ba643db4384aa1e08cd1cfa5c) Co-authored-by: Alexander R --- Doc/library/subprocess.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 2a31213560c92d..189b0818276879 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -1326,7 +1326,7 @@ calls these functions. ... "ls non_existent_file; exit 0", ... stderr=subprocess.STDOUT, ... shell=True) - 'ls: non_existent_file: No such file or directory\n' + b'ls: non_existent_file: No such file or directory\n' .. versionadded:: 3.1