summaryrefslogtreecommitdiffstats
path: root/Doc/tools/.nitignore
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-27 00:52:40 (GMT)
committerGitHub <noreply@github.com>2023-07-27 00:52:40 (GMT)
commit8d61a71f9c81619e34d4a30b625922ebc83c561b (patch)
treebd75cd21a961bbf99156b29a5eeb853ba61366b1 /Doc/tools/.nitignore
parent391e03fa05b80d17a14ac88d30c974fa2fa00adb (diff)
downloadcpython-8d61a71f9c81619e34d4a30b625922ebc83c561b.zip
cpython-8d61a71f9c81619e34d4a30b625922ebc83c561b.tar.gz
cpython-8d61a71f9c81619e34d4a30b625922ebc83c561b.tar.bz2
gh-107298: Fix more Sphinx warnings in the C API doc (#107329)
Declare the following functions as macros, since they are actually macros. It avoids a warning on "TYPE" or "macro" argument. * PyMem_New() * PyMem_Resize() * PyModule_AddIntMacro() * PyModule_AddStringMacro() * PyObject_GC_New() * PyObject_GC_NewVar() * PyObject_New() * PyObject_NewVar() Add C standard C types to nitpick_ignore in Doc/conf.py: * int64_t * uint64_t * uintptr_t No longer ignore non existing "__int" type in nitpick_ignore. Update Doc/tools/.nitignore
Diffstat (limited to 'Doc/tools/.nitignore')
-rw-r--r--Doc/tools/.nitignore3
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index 1ea7c79..cb98e97 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -2,12 +2,9 @@
# as tested on the CI via check-warnings.py in reusable-docs.yml.
# Keep lines sorted lexicographically to help avoid merge conflicts.
-Doc/c-api/allocation.rst
Doc/c-api/bool.rst
Doc/c-api/buffer.rst
Doc/c-api/capsule.rst
-Doc/c-api/complex.rst
-Doc/c-api/conversion.rst
Doc/c-api/datetime.rst
Doc/c-api/descriptor.rst
Doc/c-api/exceptions.rst