Skip to content

Commit aa9b2c4

Browse files
[3.15] Fix the check_output() example output in the subprocess docs (GH-162237) (#162566)
(cherry picked from commit 8d3bdd3) Co-authored-by: Alexander R <alex-secure@tuta.io>
1 parent 293593e commit aa9b2c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Doc/library/subprocess.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ calls these functions.
13261326
... "ls non_existent_file; exit 0",
13271327
... stderr=subprocess.STDOUT,
13281328
... shell=True)
1329-
'ls: non_existent_file: No such file or directory\n'
1329+
b'ls: non_existent_file: No such file or directory\n'
13301330

13311331
.. versionadded:: 3.1
13321332

0 commit comments

Comments
 (0)