mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
SF patch #1061780: use a new -m option in pdb and profile invocations
Doc patch submitted by Ilya Sandler.
This commit is contained in:
parent
00afb07490
commit
700d9b9b63
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue