summaryrefslogtreecommitdiffstats
path: root/Doc/libcommands.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-06-12 16:14:07 (GMT)
committerFred Drake <fdrake@acm.org>1997-06-12 16:14:07 (GMT)
commit8f81ef1edda593432d09d52faa12f72ba6eba2f4 (patch)
treec314852991c9f74f99c31ab90fffb22cb5d5a1db /Doc/libcommands.tex
parentb4aeaebfe8b3d495b8b292268cb7da679b05e802 (diff)
downloadcpython-8f81ef1edda593432d09d52faa12f72ba6eba2f4.zip
cpython-8f81ef1edda593432d09d52faa12f72ba6eba2f4.tar.gz
cpython-8f81ef1edda593432d09d52faa12f72ba6eba2f4.tar.bz2
Fix LaTeX bug found by examining the docstrings added to commands.py.
Diffstat (limited to 'Doc/libcommands.tex')
-rw-r--r--Doc/libcommands.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/libcommands.tex b/Doc/libcommands.tex
index 7584931..f2fcb79 100644
--- a/Doc/libcommands.tex
+++ b/Doc/libcommands.tex
@@ -14,7 +14,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
+\samp{\{\ 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()}.