https://github.com/python/cpython/commit/4c2a59b7b884a8e6e88365bbd25ca0e2d2279c99
commit: 4c2a59b7b884a8e6e88365bbd25ca0e2d2279c99
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: colesbury <[email protected]>
date: 2025-02-12T22:56:02Z
summary:

[3.13] gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044) 
(gh-130059)

(cherry picked from commit 791cdfe1416a591e240b8ffc6f10eb6f659c8277)

Co-authored-by: Satyam Kumar <[email protected]>

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

diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 34dbc699fa1c20..b356f99af96e05 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1829,7 +1829,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
    dictionary, so it is may be more efficient to call 
:c:func:`PyObject_GetAttr`
    when accessing an attribute on the object.
 
-   It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit and
+   It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and
    :c:member:`~PyTypeObject.tp_dictoffset`.
 
    **Inheritance:**

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to