summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-30 20:44:55 (GMT)
committerGitHub <noreply@github.com>2019-10-30 20:44:55 (GMT)
commit2c921c65e9d0aa7e3a38c96a22d5eec56724da72 (patch)
tree385c930239295a07f30439dec59b6ffc63a08dda /Doc/extending
parentf2ba17be2aec873741c2d8a55b1342afa360aec2 (diff)
downloadcpython-2c921c65e9d0aa7e3a38c96a22d5eec56724da72.zip
cpython-2c921c65e9d0aa7e3a38c96a22d5eec56724da72.tar.gz
cpython-2c921c65e9d0aa7e3a38c96a22d5eec56724da72.tar.bz2
[3.8] bpo-38600: NULL -> ``NULL``. (GH-17001) (GH-17003)
Also fix some other formatting. (cherry picked from commit e835b31d2b212c3c7820364398979cae2a9740b2)
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::