Skip to content

Commit

Permalink
Docs: Fix documentation for "PyTypeObject Definition"
Browse files Browse the repository at this point in the history
The structure definition for `PyTypeObject` is in `Include/cpython/object.h`,
not in `Include/object.h`.
  • Loading branch information
koyuki7w committed Mar 7, 2025
1 parent 886a4d7 commit 43fc451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 43fc451

Please sign in to comment.