summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/gen.rst
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/c-api/gen.rst
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/c-api/gen.rst')
-rw-r--r--Doc/c-api/gen.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/gen.rst b/Doc/c-api/gen.rst
index e4b8d25..7441092 100644
--- a/Doc/c-api/gen.rst
+++ b/Doc/c-api/gen.rst
@@ -27,7 +27,7 @@ than explicitly calling :c:func:`PyGen_New` or :c:func:`PyGen_NewWithQualName`.
.. c:function:: int PyGen_CheckExact(PyObject *ob)
- Return true if *ob*'s type is *PyGen_Type*; *ob* must not be ``NULL``.
+ Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be ``NULL``.
.. c:function:: PyObject* PyGen_New(PyFrameObject *frame)