summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 15:06:53 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 15:06:53 (GMT)
commit35dcf454e1a4b1b67820f5f9480ef7af6f4ea382 (patch)
treef6e2f3153506befd5b97e7846a06f306449a295a /Lib/pdb.doc
parent91ece4205b41ec2fbc04028b016d707d876fc296 (diff)
downloadcpython-35dcf454e1a4b1b67820f5f9480ef7af6f4ea382.zip
cpython-35dcf454e1a4b1b67820f5f9480ef7af6f4ea382.tar.gz
cpython-35dcf454e1a4b1b67820f5f9480ef7af6f4ea382.tar.bz2
Document sys.settrace().
Diffstat (limited to 'Lib/pdb.doc')
-rw-r--r--Lib/pdb.doc3
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)