File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1396,7 +1396,12 @@ always available.
1396
1396
``'return' ``, ``'c_call' ``, ``'c_return' ``, or ``'c_exception' ``. *arg * depends
1397
1397
on the event type.
1398
1398
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
1400
1405
1401
1406
The events have the following meaning:
1402
1407
@@ -1419,11 +1424,6 @@ always available.
1419
1424
``'c_exception' ``
1420
1425
A C function has raised an exception. *arg * is the C function object.
1421
1426
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
-
1427
1427
.. function :: setrecursionlimit(limit)
1428
1428
1429
1429
Set the maximum depth of the Python interpreter stack to *limit *. This limit
You can’t perform that action at this time.
0 commit comments