]> granicus.if.org Git - python/commitdiff
Fix LaTeX bug found by examining the docstrings added to commands.py.
authorFred Drake <fdrake@acm.org>
Thu, 12 Jun 1997 16:14:07 +0000 (16:14 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 12 Jun 1997 16:14:07 +0000 (16:14 +0000)
Doc/lib/libcommands.tex
Doc/libcommands.tex

index 7584931dc5eb863cb0aa3993620e4d993af208e2..f2fcb792f6e69ec0ebedbf5c74c1401976f669c0 100644 (file)
@@ -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()}.  
index 7584931dc5eb863cb0aa3993620e4d993af208e2..f2fcb792f6e69ec0ebedbf5c74c1401976f669c0 100644 (file)
@@ -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()}.