summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-30 19:37:16 (GMT)
committerGitHub <noreply@github.com>2019-10-30 19:37:16 (GMT)
commite835b31d2b212c3c7820364398979cae2a9740b2 (patch)
treeb4480396678dc575c8f183f0e5add28ee7f36604 /Doc/extending
parent1d8da61f5ad26274556e0bbce260ce292d0402a1 (diff)
downloadcpython-e835b31d2b212c3c7820364398979cae2a9740b2.zip
cpython-e835b31d2b212c3c7820364398979cae2a9740b2.tar.gz
cpython-e835b31d2b212c3c7820364398979cae2a9740b2.tar.bz2
bpo-38600: NULL -> ``NULL``. (GH-17001)
Also fix some other formatting.
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/extending.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index 7986ea1..5b32a2c 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -536,7 +536,7 @@ Later, when it is time to call the function, you call the C function
:c:func:`PyObject_CallObject`. This function has two arguments, both pointers to
arbitrary Python objects: the Python function, and the argument list. The
argument list must always be a tuple object, whose length is the number of
-arguments. To call the Python function with no arguments, pass in NULL, or
+arguments. To call the Python function with no arguments, pass in ``NULL``, or
an empty tuple; to call it with one argument, pass a singleton tuple.
:c:func:`Py_BuildValue` returns a tuple when its format string consists of zero
or more format codes between parentheses. For example::