@@ -25,18 +25,26 @@ found in the dictionary of type objects.
2525
2626 The type object for member descriptor objects created from
2727 :c:type: `PyMemberDef ` structures. These descriptors expose fields of a
28- C struct as attributes on a type, and correspond to `` member_descriptor ` `
28+ C struct as attributes on a type, and correspond to :class: ` types.MemberDescriptorType `
2929 objects in the Python layer.
3030
3131
32+ .. c :var :: PyTypeObject PyGetSetDescr_Type
33+
34+ The type object for get/set descriptor objects created from
35+ :c:type: `PyGetSetDef ` structures. These descriptors implement attributes
36+ whose value is computed by C getter and setter functions, and are used
37+ for many built-in type attributes.
38+
39+
3240.. c :function :: PyObject* PyDescr_NewMethod (PyTypeObject *type, struct PyMethodDef *meth)
3341
3442
3543.. c :var :: PyTypeObject PyMethodDescr_Type
3644
3745 The type object for method descriptor objects created from
3846 :c:type: `PyMethodDef ` structures. These descriptors expose C functions as
39- methods on a type, and correspond to `` method_descriptor ` ` objects in the
47+ methods on a type, and correspond to :class: ` types.MemberDescriptorType ` objects in the
4048 Python layer.
4149
4250
@@ -48,7 +56,7 @@ found in the dictionary of type objects.
4856 The type object for wrapper descriptor objects created by
4957 :c:func: `PyDescr_NewWrapper ` and :c:func: `PyWrapper_New `. Wrapper
5058 descriptors are used internally to expose special methods implemented
51- via wrapper structures, and appear in Python as `` wrapper_descriptor ` `
59+ via wrapper structures, and appear in Python as :class: ` types.WrapperDescriptorType `
5260 objects.
5361
5462
@@ -88,14 +96,6 @@ Built-in descriptors
8896 Python layer.
8997
9098
91- .. c :var :: PyTypeObject PyGetSetDescr_Type
92-
93- The type object for get/set descriptor objects created from
94- :c:type: `PyGetSetDef ` structures. These descriptors implement attributes
95- whose value is computed by C getter and setter functions, and are used
96- for many built-in type attributes.
97-
98-
9999.. c :function :: PyObject *PyClassMethod_New (PyObject *callable)
100100
101101 Create a new :class: `classmethod ` object wrapping *callable *.
0 commit comments