]> granicus.if.org Git - python/commitdiff
minor tweak
authorSkip Montanaro <skip@pobox.com>
Sun, 23 Apr 2006 19:26:33 +0000 (19:26 +0000)
committerSkip Montanaro <skip@pobox.com>
Sun, 23 Apr 2006 19:26:33 +0000 (19:26 +0000)
Doc/lib/libtrace.tex

index b1b49e56172577a67adebaa1373e3c45a4776f80..f13e8aedafc59d4bb48dc7da7f578505bcfd88dc 100644 (file)
@@ -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.