https://github.com/python/cpython/commit/a0478c9f0c6d6a75ca35a8dc2c74d3b58877f094 commit: a0478c9f0c6d6a75ca35a8dc2c74d3b58877f094 branch: main author: Yuki Kobayashi <drsuaimqj...@gmail.com> committer: encukou <encu...@gmail.com> date: 2025-03-19T14:46:32+01:00 summary:
Docs: Fix documentation for "PyTypeObject Definition" (GH-130936) The structure definition for `PyTypeObject` is in `Include/cpython/object.h`, not in `Include/object.h`. files: M Doc/c-api/typeobj.rst diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 5188ecefb98221..c5229d19ca0a6c 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? _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com