summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-15 16:42:37 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-15 16:42:37 (GMT)
commitd0b0e1d8690f5c8534e129bac626175f31068b7a (patch)
tree539f293bab400cbc15e2499baf58d03dae4916df /Doc/c-api
parentd2413428dcf5b4ad3c5604319f694c36b13e96af (diff)
downloadcpython-d0b0e1d8690f5c8534e129bac626175f31068b7a.zip
cpython-d0b0e1d8690f5c8534e129bac626175f31068b7a.tar.gz
cpython-d0b0e1d8690f5c8534e129bac626175f31068b7a.tar.bz2
#6798: fix wrong docs for the arguments to several trace events.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 031e322..1c62155 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -929,13 +929,14 @@ Python-level trace functions in previous versions.
+------------------------------+--------------------------------------+
| :const:`PyTrace_LINE` | Always *NULL*. |
+------------------------------+--------------------------------------+
- | :const:`PyTrace_RETURN` | Value being returned to the caller. |
+ | :const:`PyTrace_RETURN` | Value being returned to the caller, |
+ | | or *NULL* if caused by an exception. |
+------------------------------+--------------------------------------+
- | :const:`PyTrace_C_CALL` | Name of function being called. |
+ | :const:`PyTrace_C_CALL` | Function object being called. |
+------------------------------+--------------------------------------+
- | :const:`PyTrace_C_EXCEPTION` | Always *NULL*. |
+ | :const:`PyTrace_C_EXCEPTION` | Function object being called. |
+------------------------------+--------------------------------------+
- | :const:`PyTrace_C_RETURN` | Always *NULL*. |
+ | :const:`PyTrace_C_RETURN` | Function object being called. |
+------------------------------+--------------------------------------+