Kaydet (Commit) 700d9b9b authored tarafından Raymond Hettinger's avatar Raymond Hettinger

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

Doc patch submitted by Ilya Sandler.
üst 00afb074
......@@ -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:
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment