Skip to content

Commit a9f381f

Browse files
authored
Update init.rst
1 parent 18b88ec commit a9f381f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎Doc/c-api/init.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,8 +1092,8 @@ Python-level trace functions in previous versions.
10921092
+------------------------------+--------------------------------------+
10931093
10941094
Any trace function registered using :c:func:`PyEval_SetTrace` will not receive
1095-
:const:`PyTrace_C_CALL`, :const:`PyTrace_C_EXCEPTION`, :const:`PyTrace_C_RETURN`
1096-
or :const:`PyTrace_LINE` as a value for the *what* parameter.
1095+
:const:`PyTrace_C_CALL`, :const:`PyTrace_C_EXCEPTION` or :const:`PyTrace_C_RETURN`
1096+
as a value for the *what* parameter.
10971097
10981098
10991099
.. c:var:: int PyTrace_CALL
@@ -1160,7 +1160,7 @@ Python-level trace functions in previous versions.
11601160
11611161
Set the tracing function to *func*. This is similar to
11621162
:c:func:`PyEval_SetProfile`, except the tracing function does receive line-number
1163-
events or any event related to C function objects being called.
1163+
events and does not receive any event related to C function objects being called.
11641164
11651165
11661166
.. _advanced-debugging:

0 commit comments

Comments
 (0)