Skip to content

Commit 349a5f9

Browse files
authored
Update sys.rst
1 parent 9806766 commit 349a5f9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/sys.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,12 @@ always available.
13961396
``'return'``, ``'c_call'``, ``'c_return'``, or ``'c_exception'``. *arg* depends
13971397
on the event type.
13981398

1399-
.. audit-event:: sys.setprofile "" sys.setprofile
1399+
.. note::
1400+
The same tracing mechanism is used for :func:`!setprofile` as :func:`settrace`.
1401+
To trace calls with :func:`!setprofile` inside a tracing function (e.g. in a
1402+
debugger breakpoint) see :func:`call_tracing`.
1403+
1404+
.. audit-event:: sys.setprofile "" sys.setprofile
14001405

14011406
The events have the following meaning:
14021407

@@ -1419,11 +1424,6 @@ always available.
14191424
``'c_exception'``
14201425
A C function has raised an exception. *arg* is the C function object.
14211426

1422-
.. note::
1423-
The same tracing mechanism is used for :func:`!setprofile` as :func:`settrace`.
1424-
To trace calls with :func:`!setprofile` inside a tracing function (e.g. in a
1425-
debugger breakpoint) see :func:`call_tracing`.
1426-
14271427
.. function:: setrecursionlimit(limit)
14281428

14291429
Set the maximum depth of the Python interpreter stack to *limit*. This limit

0 commit comments

Comments
 (0)