]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044)
authorSatyam Kumar <isatyamks@gmail.com>
Wed, 12 Feb 2025 22:48:14 +0000 (04:18 +0530)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2025 22:48:14 +0000 (17:48 -0500)
Doc/c-api/typeobj.rst

index 69c518d8e64cbc880327fed82c00b478dd524180..b41e5767e59c5f28cd7b7a2c798a6bd8fe2a1094 100644 (file)
@@ -1830,7 +1830,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:**