summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/coro.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-30 19:36:33 (GMT)
committerGitHub <noreply@github.com>2019-10-30 19:36:33 (GMT)
commitf2ba17be2aec873741c2d8a55b1342afa360aec2 (patch)
tree869bdb889cc7e01c2a384a211f1cc9fb96b67e0a /Doc/c-api/coro.rst
parentdcb338ea1b8f14e21dde3564658b9040df996349 (diff)
downloadcpython-f2ba17be2aec873741c2d8a55b1342afa360aec2.zip
cpython-f2ba17be2aec873741c2d8a55b1342afa360aec2.tar.gz
cpython-f2ba17be2aec873741c2d8a55b1342afa360aec2.tar.bz2
[3.8] bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950) (GH-16999)
Replace all *NULL* with ``NULL``. (cherry picked from commit 25fc088607c855060ed142296dc1bd0125fad1af)
Diffstat (limited to 'Doc/c-api/coro.rst')
-rw-r--r--Doc/c-api/coro.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/coro.rst b/Doc/c-api/coro.rst
index 50428c7..915c57e 100644
--- a/Doc/c-api/coro.rst
+++ b/Doc/c-api/coro.rst
@@ -23,7 +23,7 @@ return.
.. c:function:: int PyCoro_CheckExact(PyObject *ob)
- Return true if *ob*'s type is *PyCoro_Type*; *ob* must not be *NULL*.
+ Return true if *ob*'s type is *PyCoro_Type*; *ob* must not be ``NULL``.
.. c:function:: PyObject* PyCoro_New(PyFrameObject *frame, PyObject *name, PyObject *qualname)
@@ -31,4 +31,4 @@ return.
Create and return a new coroutine object based on the *frame* object,
with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
A reference to *frame* is stolen by this function. The *frame* argument
- must not be *NULL*.
+ must not be ``NULL``.