]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044) (gh-130060)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Feb 2025 22:55:30 +0000 (23:55 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2025 22:55:30 +0000 (22:55 +0000)
(cherry picked from commit 791cdfe1416a591e240b8ffc6f10eb6f659c8277)

Co-authored-by: Satyam Kumar <isatyamks@gmail.com>
Doc/c-api/typeobj.rst

index 3d27784d4fe21bf31e9bfaf9f40bc9f5523a3b63..7a100af88ecfae910e3373755176db6ee54c26c2 100644 (file)
@@ -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:**