cpython/Doc/extending
Serhiy Storchaka 32e17d4a3c
[3.11] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107377)
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()

(cherry picked from commit 8d61a71f9c)

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-07-28 07:03:47 +00:00
..
building.rst Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) (GH-94557) 2022-07-05 14:30:19 +02:00
embedding.rst gh-93358: Fix python-config docs for how to embed Python (GH-98649) 2022-10-29 11:55:01 -07:00
extending.rst [3.11] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107377) 2023-07-28 07:03:47 +00:00
index.rst [3.11] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) (GH-95643) 2022-08-04 11:45:03 +03:00
newtypes.rst [3.11] gh-107091: Fix some uses of :attr: role (GH-107318) (GH-107331) 2023-07-27 09:26:14 +03:00
newtypes_tutorial.rst [3.11] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107377) 2023-07-28 07:03:47 +00:00
windows.rst [3.11] gh-76773: Update docs mentioning no-longer-supported Windows versions & features (GH-92529) (GH-92608) 2022-05-10 02:55:36 -07:00