Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f81ef1

Browse files
committed
Fix LaTeX bug found by examining the docstrings added to commands.py.
1 parent b4aeaeb commit 8f81ef1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/libcommands.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ \section{Standard module \sectcode{commands}} % If implemented in Python
1414
\begin{funcdesc}{getstatusoutput}{cmd}
1515
Execute the string \var{cmd} in a shell with \code{os.popen()} and return
1616
a 2-tuple (status, output). \var{cmd} is actually run as
17-
\samp{cmd ; 2$>$\$1}, so that the returned output will contain output
17+
\samp{\{\ cmd \} ; 2$>$\$1}, so that the returned output will contain output
1818
or error messages. A trailing newline is stripped from the output.
1919
The exit status for the command can be interpreted according to the
2020
rules for the \C{} function \code{wait()}.

Doc/libcommands.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ \section{Standard module \sectcode{commands}} % If implemented in Python
1414
\begin{funcdesc}{getstatusoutput}{cmd}
1515
Execute the string \var{cmd} in a shell with \code{os.popen()} and return
1616
a 2-tuple (status, output). \var{cmd} is actually run as
17-
\samp{cmd ; 2$>$\$1}, so that the returned output will contain output
17+
\samp{\{\ cmd \} ; 2$>$\$1}, so that the returned output will contain output
1818
or error messages. A trailing newline is stripped from the output.
1919
The exit status for the command can be interpreted according to the
2020
rules for the \C{} function \code{wait()}.

0 commit comments

Comments
 (0)