https://github.com/python/cpython/commit/2b5feb1f9ea41ccbdc79a8dcd737c3481dc69102
commit: 2b5feb1f9ea41ccbdc79a8dcd737c3481dc69102
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: encukou <encu...@gmail.com>
date: 2025-03-20T13:41:06+01:00
summary:

[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 <drsuaimqj...@gmail.com>

files:
M Doc/c-api/typeobj.rst

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index f74294a0fd7e16..f531e326862a17 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

Reply via email to