cpython/Doc/extending
Victor Stinner 8d61a71f9c
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
2023-07-27 00:52:40 +00:00
..
building.rst gh-85454: Remove distutils documentation (#95239) 2022-07-25 15:50:46 +02:00
embedding.rst gh-104922: Doc: add note about PY_SSIZE_T_CLEAN (#106314) 2023-07-03 00:54:35 +09:00
extending.rst gh-107298: Fix more Sphinx warnings in the C API doc (#107329) 2023-07-27 00:52:40 +00:00
index.rst gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) 2022-08-04 10:13:49 +03:00
newtypes.rst Fix inaccuracies in "Assorted Topics" section of "Defining Extension Types" tutorial (#104969) 2023-06-16 07:10:59 +00:00
newtypes_tutorial.rst gh-107298: Fix more Sphinx warnings in the C API doc (#107329) 2023-07-27 00:52:40 +00:00
windows.rst gh-85454: Remove distutils documentation (#95239) 2022-07-25 15:50:46 +02:00