From 700d9b9b63b09a2073181b14933e6ec95e7d4868 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 7 Nov 2004 06:18:37 +0000 Subject: SF patch #1061780: use a new -m option in pdb and profile invocations Doc patch submitted by Ilya Sandler. --- Doc/lib/libpdb.tex | 2 +- Doc/lib/libprofile.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libpdb.tex b/Doc/lib/libpdb.tex index 1dbf441..81dc1e2 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 c283fd6..10cff84 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: -- cgit v0.12