Skip to content

Commit 3887c6c

Browse files
authored
Update sys.rst
1 parent a9f381f commit 3887c6c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎Doc/library/sys.rst‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,15 +1062,14 @@ always available.
10621062

10631063
Profile functions should have three arguments: *frame*, *event*, and
10641064
*arg*. *frame* is the current stack frame. *event* is a string: ``'call'``,
1065-
``'line'``, ``'return'``, ``'exception'``, ``'c_call'``, ``'c_return'``, or
1065+
``'return'``, ``'exception'``, ``'c_call'``, ``'c_return'``, or
10661066
``'c_exception'``, ``'opcode'``. *arg* depends on the event type.
10671067

10681068
The events have the following meaning:
10691069

10701070
``'call'``
10711071
A function is called (or some other code block entered). The
1072-
global trace function is called; *arg* is ``None``; the return value
1073-
specifies the local trace function.
1072+
profile function is called; *arg* is ``None``.
10741073

10751074
``'return'``
10761075
A function (or other code block) is about to return. The local trace

0 commit comments

Comments
 (0)