summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-25 00:43:34 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-25 00:43:34 (GMT)
commit3e1e274d0b16bab5fd27a7d418863be8d3093466 (patch)
treec6eb780c3a47b171d389a9f2bb2e80d0e7889e05
parent9d62e80e466931d5c189e198e13ebfcc82d00ac4 (diff)
downloadcpython-3e1e274d0b16bab5fd27a7d418863be8d3093466.zip
cpython-3e1e274d0b16bab5fd27a7d418863be8d3093466.tar.gz
cpython-3e1e274d0b16bab5fd27a7d418863be8d3093466.tar.bz2
Don't use $math$ mode to typeset a simple '>' sign. Use \code, not \samp.
-rw-r--r--Doc/lib/libcommands.tex2
-rw-r--r--Doc/libcommands.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libcommands.tex b/Doc/lib/libcommands.tex
index fe6f929..0bc2a2b 100644
--- a/Doc/lib/libcommands.tex
+++ b/Doc/lib/libcommands.tex
@@ -15,7 +15,7 @@ The \code{commands} module defines the following functions:
\begin{funcdesc}{getstatusoutput}{cmd}
Execute the string \var{cmd} in a shell with \code{os.popen()} and return
a 2-tuple (status, output). \var{cmd} is actually run as
-\samp{\{\ cmd \} ; 2$>$\$1}, so that the returned output will contain output
+\code{\{ cmd ; \} 2>\&1}, so that the returned output will contain output
or error messages. A trailing newline is stripped from the output.
The exit status for the command can be interpreted according to the
rules for the \C{} function \code{wait()}.
diff --git a/Doc/libcommands.tex b/Doc/libcommands.tex
index fe6f929..0bc2a2b 100644
--- a/Doc/libcommands.tex
+++ b/Doc/libcommands.tex
@@ -15,7 +15,7 @@ The \code{commands} module defines the following functions:
\begin{funcdesc}{getstatusoutput}{cmd}
Execute the string \var{cmd} in a shell with \code{os.popen()} and return
a 2-tuple (status, output). \var{cmd} is actually run as
-\samp{\{\ cmd \} ; 2$>$\$1}, so that the returned output will contain output
+\code{\{ cmd ; \} 2>\&1}, so that the returned output will contain output
or error messages. A trailing newline is stripped from the output.
The exit status for the command can be interpreted according to the
rules for the \C{} function \code{wait()}.