Skip to content

Commit 8d3bdd3

Browse files
authored
Fix the check_output() example output in the subprocess docs (#162237)
1 parent 5d69e44 commit 8d3bdd3

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)