From a0478c9f0c6d6a75ca35a8dc2c74d3b58877f094 Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi Date: Wed, 19 Mar 2025 22:46:32 +0900 Subject: Docs: Fix documentation for "PyTypeObject Definition" (GH-130936) The structure definition for `PyTypeObject` is in `Include/cpython/object.h`, not in `Include/object.h`. --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 5188ece..c5229d1 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -473,7 +473,7 @@ PyTypeObject Definition ----------------------- The structure definition for :c:type:`PyTypeObject` can be found in -:file:`Include/object.h`. For convenience of reference, this repeats the +:file:`Include/cpython/object.h`. For convenience of reference, this repeats the definition found there: .. XXX Drop this? -- cgit v0.12