From: Skip Montanaro Date: Sun, 23 Apr 2006 19:26:33 +0000 (+0000) Subject: minor tweak X-Git-Tag: v2.5a2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56a3706fcde9b8f212d66c62a1654bcdd7065894;p=python minor tweak --- diff --git a/Doc/lib/libtrace.tex b/Doc/lib/libtrace.tex index b1b49e5617..f13e8aedaf 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.