From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 12 Feb 2025 22:55:30 +0000 (+0100) Subject: [3.12] gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044) (gh-130060) X-Git-Tag: v3.12.10~218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=719d08cccfb62869af44ab693e0359644b4eeb34;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044) (gh-130060) (cherry picked from commit 791cdfe1416a591e240b8ffc6f10eb6f659c8277) Co-authored-by: Satyam Kumar --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 3d27784d4fe2..7a100af88ecf 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -1821,7 +1821,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:**