From 43fc4514d821ce39dc60a343afb90c3240ab5fc5 Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi Date: Fri, 7 Mar 2025 02:02:05 +0000 Subject: [PATCH] Docs: Fix documentation for "PyTypeObject Definition" 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 b41e5767e59c5f..c72d3206eb68aa 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?