diff options
author | Guido van Rossum <guido@python.org> | 1992-03-27 15:06:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-27 15:06:53 (GMT) |
commit | 35dcf454e1a4b1b67820f5f9480ef7af6f4ea382 (patch) | |
tree | f6e2f3153506befd5b97e7846a06f306449a295a /Lib | |
parent | 91ece4205b41ec2fbc04028b016d707d876fc296 (diff) | |
download | cpython-35dcf454e1a4b1b67820f5f9480ef7af6f4ea382.zip cpython-35dcf454e1a4b1b67820f5f9480ef7af6f4ea382.tar.gz cpython-35dcf454e1a4b1b67820f5f9480ef7af6f4ea382.tar.bz2 |
Document sys.settrace().
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pdb.doc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/pdb.doc b/Lib/pdb.doc index 7eb68d2..0ae4c0e 100644 --- a/Lib/pdb.doc +++ b/Lib/pdb.doc @@ -107,8 +107,7 @@ How it works ============ Some changes were made to the interpreter: -- if sys.trace is defined (by the user) and not None, it should be a function -- sys.trace is called the global trace function +- sys.settrace(func) sets the global trace function - there can also a local trace function (see later) Trace functions have three arguments: (frame, event, arg) |