summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libpdb.tex2
-rw-r--r--Doc/lib/libprofile.tex2
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: