From 791cdfe1416a591e240b8ffc6f10eb6f659c8277 Mon Sep 17 00:00:00 2001 From: Satyam Kumar Date: Thu, 13 Feb 2025 04:18:14 +0530 Subject: [PATCH] gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044) --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 69c518d8e64c..b41e5767e59c 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -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:** -- 2.47.3