SF patch #1061780: use a new -m option in pdb and profile invocations

Doc patch submitted by Ilya Sandler.
This commit is contained in:
Raymond Hettinger 2004-11-07 06:18:37 +00:00
parent 00afb07490
commit 700d9b9b63
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ NameError: 'spam'
a script to debug other scripts. For example:
\begin{verbatim}
python /usr/local/lib/python1.5/pdb.py myscript.py
python -m pdb myscript.py
\end{verbatim}
Typical usage to inspect a crashed program is:

View file

@ -128,7 +128,7 @@ The file \file{profile.py} can also be invoked as
a script to profile another script. For example:
\begin{verbatim}
python /usr/local/lib/python1.5/profile.py myscript.py
python -m profile myscript.py
\end{verbatim}
\file{profile.py} accepts two optional arguments on the command line: