From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 20 Mar 2025 12:41:06 +0000 (+0100) Subject: [3.13] Docs: Fix documentation for "PyTypeObject Definition" (GH-130936) (GH-131458) X-Git-Tag: v3.13.3~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b5feb1f9ea41ccbdc79a8dcd737c3481dc69102;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: Fix documentation for "PyTypeObject Definition" (GH-130936) (GH-131458) The structure definition for `PyTypeObject` is in `Include/cpython/object.h`, not in `Include/object.h`. (cherry picked from commit a0478c9f0c6d6a75ca35a8dc2c74d3b58877f094) Co-authored-by: Yuki Kobayashi --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index f74294a0fd7e..f531e326862a 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?