Commit 745e9de7 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by Xiang Zhang

bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation (GH-5361) (GH-5378)

(cherry picked from commit 9ed0aee2)
parent 38487a05
...@@ -983,12 +983,12 @@ in previous versions. ...@@ -983,12 +983,12 @@ in previous versions.
+------------------------------+--------------------------------------+ +------------------------------+--------------------------------------+
| Value of *what* | Meaning of *arg* | | Value of *what* | Meaning of *arg* |
+==============================+======================================+ +==============================+======================================+
| :const:`PyTrace_CALL` | Always *NULL*. | | :const:`PyTrace_CALL` | Always :c:data:`Py_None`. |
+------------------------------+--------------------------------------+ +------------------------------+--------------------------------------+
| :const:`PyTrace_EXCEPTION` | Exception information as returned by | | :const:`PyTrace_EXCEPTION` | Exception information as returned by |
| | :func:`sys.exc_info`. | | | :func:`sys.exc_info`. |
+------------------------------+--------------------------------------+ +------------------------------+--------------------------------------+
| :const:`PyTrace_LINE` | Always *NULL*. | | :const:`PyTrace_LINE` | Always :c:data:`Py_None`. |
+------------------------------+--------------------------------------+ +------------------------------+--------------------------------------+
| :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. | | | or *NULL* if caused by an exception. |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment