Skip to content

Commit a88632a

Browse files
committed
Show bytes in the check_output() stderr example in the subprocess docs
1 parent ddd88c7 commit a88632a

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)