summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libtrace.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libtrace.tex b/Doc/lib/libtrace.tex
index b1b49e5..f13e8ae 100644
--- a/Doc/lib/libtrace.tex
+++ b/Doc/lib/libtrace.tex
@@ -19,7 +19,7 @@ python -m trace --count somefile.py ...
\end{verbatim}
The above will generate annotated listings of all Python modules imported
-during the execution of somefile.py.
+during the execution of \code{somefile.py}.
\subsection{Command Line Arguments}
@@ -69,7 +69,7 @@ Run \code{cmd} under control of the Trace object with the current tracing
parameters.
\end{methoddesc}
-\begin{methoddesc}[Trace]{run}{cmd\optional{,globals=None\optional{,locals=None}}}
+\begin{methoddesc}[Trace]{runctx}{cmd\optional{,globals=None\optional{,locals=None}}}
Run \code{cmd} under control of the Trace object with the current tracing
parameters in the defined global and local environments. If not defined,
\code{globals} and \code{locals} default to empty dictionaries.