Skip to content

Commit 2b5feb1

Browse files
[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 a0478c9) Co-authored-by: Yuki Kobayashi <[email protected]>
1 parent 69db2eb commit 2b5feb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/typeobj.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ PyTypeObject Definition
473473
-----------------------
474474

475475
The structure definition for :c:type:`PyTypeObject` can be found in
476-
:file:`Include/object.h`. For convenience of reference, this repeats the
476+
:file:`Include/cpython/object.h`. For convenience of reference, this repeats the
477477
definition found there:
478478

479479
.. XXX Drop this?

0 commit comments

Comments
 (0)