]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document sys.settrace().
authorGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 15:06:53 +0000 (15:06 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 15:06:53 +0000 (15:06 +0000)
Lib/pdb.doc

index 7eb68d279d6d33945ce5fe8da3c7f4d0bf9d1e1e..0ae4c0e2e8ebf8f30e341d5bd913282333e79b10 100644 (file)
@@ -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)