[Python-checkins] CVS: python/dist/src/Doc/lib libpdb.tex,1.31,1.32

Fred L. Drake fdrake@users.sourceforge.net
Thu, 13 Sep 2001 09:56:46 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv11950/Doc/lib

Modified Files:
	libpdb.tex 
Log Message:

Admit that we'll never add the args for a "call" event to the profile
and trace functions; this now declares that None will be passed for the
"call" event.
This closes SF bug/suggestion #460315.


Index: libpdb.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpdb.tex,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** libpdb.tex	2001/07/18 17:40:19	1.31
--- libpdb.tex	2001/09/13 16:56:43	1.32
***************
*** 356,360 ****
  \item[\code{'call'}]
  A function is called (or some other code block entered).  The global
! trace function is called; arg is the argument list to the function;
  the return value specifies the local trace function.
  
--- 356,360 ----
  \item[\code{'call'}]
  A function is called (or some other code block entered).  The global
! trace function is called; \var{arg} is \code{None};
  the return value specifies the local trace function.
  
***************
*** 362,377 ****
  The interpreter is about to execute a new line of code (sometimes
  multiple line events on one line exist).  The local trace function is
! called; arg in None; the return value specifies the new local trace
! function.
  
  \item[\code{'return'}]
  A function (or other code block) is about to return.  The local trace
! function is called; arg is the value that will be returned.  The trace
! function's return value is ignored.
  
  \item[\code{'exception'}]
! An exception has occurred.  The local trace function is called; arg is
! a triple (exception, value, traceback); the return value specifies the
! new local trace function
  
  \end{description}
--- 362,378 ----
  The interpreter is about to execute a new line of code (sometimes
  multiple line events on one line exist).  The local trace function is
! called; \var{arg} is \code{None}; the return value specifies the new
! local trace function.
  
  \item[\code{'return'}]
  A function (or other code block) is about to return.  The local trace
! function is called; \var{arg} is the value that will be returned.  The
! trace function's return value is ignored.
  
  \item[\code{'exception'}]
! An exception has occurred.  The local trace function is called;
! \var{arg} is a triple \code{(\var{exception}, \var{value},
! \var{traceback})}; the return value specifies the new local trace
! function.
  
  \end{description}