summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/coro.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-30 10:03:20 (GMT)
committerGitHub <noreply@github.com>2019-10-30 10:03:20 (GMT)
commit25fc088607c855060ed142296dc1bd0125fad1af (patch)
tree384af093a75c0d66a00da4b1d2b184e68de67211 /Doc/c-api/coro.rst
parentda6ce58dd5ac109485af45878fca6bfd265b43e9 (diff)
downloadcpython-25fc088607c855060ed142296dc1bd0125fad1af.zip
cpython-25fc088607c855060ed142296dc1bd0125fad1af.tar.gz
cpython-25fc088607c855060ed142296dc1bd0125fad1af.tar.bz2
bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)
Replace all *NULL* with ``NULL``.
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``.