Document sys.settrace().

This commit is contained in:
Guido van Rossum 1992-03-27 15:06:53 +00:00
parent 91ece4205b
commit 35dcf454e1
1 changed files with 1 additions and 2 deletions

View 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)