From: Raymond Hettinger Date: Sun, 7 Nov 2004 06:18:37 +0000 (+0000) Subject: SF patch #1061780: use a new -m option in pdb and profile invocations X-Git-Tag: v2.4c1~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=700d9b9b63b09a2073181b14933e6ec95e7d4868;p=python SF patch #1061780: use a new -m option in pdb and profile invocations Doc patch submitted by Ilya Sandler. --- diff --git a/Doc/lib/libpdb.tex b/Doc/lib/libpdb.tex index 1dbf441af4..81dc1e2e87 100644 --- a/Doc/lib/libpdb.tex +++ b/Doc/lib/libpdb.tex @@ -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: diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex index c283fd66c0..10cff84952 100644 --- a/Doc/lib/libprofile.tex +++ b/Doc/lib/libprofile.tex @@ -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: