summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-28 06:56:52 (GMT)
committerGitHub <noreply@github.com>2023-07-28 06:56:52 (GMT)
commite6a4b10820768f7a3ca9b919a8d8961bc92c6af4 (patch)
treedff9398cb1e7809a7eb2641c56e952a303f3d8a5 /Doc/tools
parentef7422a1b98a9c84db5d2d4e16eafe01f8b4680a (diff)
downloadcpython-e6a4b10820768f7a3ca9b919a8d8961bc92c6af4.zip
cpython-e6a4b10820768f7a3ca9b919a8d8961bc92c6af4.tar.gz
cpython-e6a4b10820768f7a3ca9b919a8d8961bc92c6af4.tar.bz2
[3.12] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107376)
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. (cherry picked from commit 8d61a71f9c81619e34d4a30b625922ebc83c561b) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/.nitignore3
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index b02f6ea..ab906b3 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -3,13 +3,10 @@
# Add blank lines between files and keep them sorted lexicographically
# to help avoid merge conflicts.
-Doc/c-api/allocation.rst
Doc/c-api/arg.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/dict.rst