[Python-checkins] python/dist/src/Doc/lib libpdb.tex, 1.41,
1.42 libprofile.tex, 1.47, 1.48
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Nov 7 07:18:43 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32575
Modified Files:
libpdb.tex libprofile.tex
Log Message:
SF patch #1061780: use a new -m option in pdb and profile invocations
Doc patch submitted by Ilya Sandler.
Index: libpdb.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpdb.tex,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- libpdb.tex 17 Oct 2004 19:55:47 -0000 1.41
+++ libpdb.tex 7 Nov 2004 06:18:37 -0000 1.42
@@ -39,7 +39,7 @@
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:
Index: libprofile.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libprofile.tex,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- libprofile.tex 23 Mar 2004 21:40:07 -0000 1.47
+++ libprofile.tex 7 Nov 2004 06:18:37 -0000 1.48
@@ -128,7 +128,7 @@
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:
More information about the Python-checkins
mailing list