Skip to content

Commit a3eb316

Browse files
committed
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. '''
1 parent 6ecf77d commit a3eb316

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/c-api/descriptor.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@ found in the dictionary of type objects.
3838
3939
4040
.. c:function:: PyObject* PyWrapper_New(PyObject *, PyObject *)
41+
42+
43+
.. c:struct:: wrapperbase
44+
45+
A structure defining the basic behavior of a descriptor wrapper.

0 commit comments

Comments
 (0)