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

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

index 34dbc699fa1c20bbd749016c2d745c61a7c2ed41..b356f99af96e05f1de0f5260742737832bb993aa 100644 (file)
@@ -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:**