diff options
author | Fred Drake <fdrake@acm.org> | 2001-09-13 16:56:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-09-13 16:56:43 (GMT) |
commit | b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3 (patch) | |
tree | 8852e40c315ca706cbca5860f14c2e0aead922fc /Doc/lib | |
parent | 02fac83ba173330fda5237fceb517b8c67110015 (diff) | |
download | cpython-b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3.zip cpython-b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3.tar.gz cpython-b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3.tar.bz2 |
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.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libpdb.tex | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Doc/lib/libpdb.tex b/Doc/lib/libpdb.tex index d457c95..89ec556 100644 --- a/Doc/lib/libpdb.tex +++ b/Doc/lib/libpdb.tex @@ -355,24 +355,25 @@ The events have the following meaning: \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; +trace function is called; \var{arg} is \code{None}; the return value specifies the local trace function. \item[\code{'line'}] 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. +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; arg is the value that will be returned. The trace -function's return value is ignored. +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; arg is -a triple (exception, value, traceback); the return value specifies the -new local trace function +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} |