summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/contextvars.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/contextvars.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/contextvars.rst')
-rw-r--r--Doc/c-api/contextvars.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/contextvars.rst b/Doc/c-api/contextvars.rst
index a7cde7f..38256a3 100644
--- a/Doc/c-api/contextvars.rst
+++ b/Doc/c-api/contextvars.rst
@@ -60,17 +60,17 @@ Type-check macros:
.. c:function:: int PyContext_CheckExact(PyObject *o)
Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be
- *NULL*. This function always succeeds.
+ ``NULL``. This function always succeeds.
.. c:function:: int PyContextVar_CheckExact(PyObject *o)
Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be
- *NULL*. This function always succeeds.
+ ``NULL``. This function always succeeds.
.. c:function:: int PyContextToken_CheckExact(PyObject *o)
Return true if *o* is of type :c:data:`PyContextToken_Type`.
- *o* must not be *NULL*. This function always succeeds.
+ *o* must not be ``NULL``. This function always succeeds.
Context object management functions: