File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1041,7 +1041,7 @@ calls these functions.
10411041 Run the command described by *args *. Wait for command to complete, then
10421042 return the :attr: `~Popen.returncode ` attribute.
10431043
1044- Code needing to capture stdout or stderr should use :func: `run ` instead:
1044+ Code needing to capture stdout or stderr should use :func: `run ` instead::
10451045
10461046 run(...).returncode
10471047
@@ -1069,7 +1069,7 @@ calls these functions.
10691069 :exc: `CalledProcessError ` object will have the return code in the
10701070 :attr: `~CalledProcessError.returncode ` attribute.
10711071
1072- Code needing to capture stdout or stderr should use :func: `run ` instead:
1072+ Code needing to capture stdout or stderr should use :func: `run ` instead::
10731073
10741074 run(..., check=True)
10751075
@@ -1191,8 +1191,8 @@ becomes::
11911191 p1.stdout.close() # Allow p1 to receive a SIGPIPE if p2 exits.
11921192 output = p2.communicate()[0]
11931193
1194- The p1.stdout.close() call after starting the p2 is important in order for p1
1195- to receive a SIGPIPE if p2 exits before p1.
1194+ The `` p1.stdout.close() `` call after starting the p2 is important in order for
1195+ p1 to receive a SIGPIPE if p2 exits before p1.
11961196
11971197Alternatively, for trusted input, the shell's own pipeline support may still
11981198be used directly:
You can’t perform that action at this time.
0 commit comments