From 2f57abb1aca04e37374d0d41c520bd29a0bd3fb4 Mon Sep 17 00:00:00 2001 From: abhi210 <27881020+Abhi210@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:46:16 +0530 Subject: [PATCH] gh-101100: Doc: Suppress sphinx warning in descriptor.rst Suppress the c:identifier reference warning for 'wrapperbase' by marking it as a literal. I added the following line at the end of descriptor.rst: ''' .. c:struct:: wrapperbase A structure defining the basic behavior of a descriptor wrapper. ''' --- Doc/c-api/descriptor.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/c-api/descriptor.rst b/Doc/c-api/descriptor.rst index b32c113e5f0457..81b2f36de6e709 100644 --- a/Doc/c-api/descriptor.rst +++ b/Doc/c-api/descriptor.rst @@ -38,3 +38,8 @@ found in the dictionary of type objects. .. c:function:: PyObject* PyWrapper_New(PyObject *, PyObject *) + + +.. c:struct:: wrapperbase + + A structure defining the basic behavior of a descriptor wrapper.