]> granicus.if.org Git - python/commitdiff
bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation (GH-5361...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 28 Jan 2018 08:41:29 +0000 (00:41 -0800)
committerXiang Zhang <angwerzx@126.com>
Sun, 28 Jan 2018 08:41:29 +0000 (16:41 +0800)
(cherry picked from commit 9ed0aee27c249dada410a22fff4325a4a61df36d)

Doc/c-api/init.rst

index eade4121a25fc8a8d8338a82bc58a8e3b3ec7315..f091ac81dae9d9781890cc16d551adf2a31aec6e 100644 (file)
@@ -983,12 +983,12 @@ in previous versions.
    +------------------------------+--------------------------------------+
    | 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 |
    |                              | :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,  |
    |                              | or *NULL* if caused by an exception. |