From 35dcf454e1a4b1b67820f5f9480ef7af6f4ea382 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 Mar 1992 15:06:53 +0000 Subject: Document sys.settrace(). --- Lib/pdb.doc | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v0.12