Skip to content

Commit 9f147ab

Browse files
committed
changes
1 parent b71c072 commit 9f147ab

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Doc/c-api/descriptor.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ 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 :class:`types.MemberDescriptorType`
29-
objects in the Python layer.
28+
C struct as attributes on a type, and correspond
29+
to :class:`types.MemberDescriptorType` objects in the Python layer.
30+
3031
3132
3233
.. c:var:: PyTypeObject PyGetSetDescr_Type
@@ -44,8 +45,8 @@ found in the dictionary of type objects.
4445
4546
The type object for method descriptor objects created from
4647
:c:type:`PyMethodDef` structures. These descriptors expose C functions as
47-
methods on a type, and correspond to :class:`types.MemberDescriptorType` objects in the
48-
Python layer.
48+
methods on a type, and correspond to :class:`types.MemberDescriptorType`
49+
objects in the Python layer.
4950
5051
5152
.. c:function:: PyObject* PyDescr_NewWrapper(PyTypeObject *type, struct wrapperbase *wrapper, void *wrapped)
@@ -56,8 +57,8 @@ found in the dictionary of type objects.
5657
The type object for wrapper descriptor objects created by
5758
:c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper
5859
descriptors are used internally to expose special methods implemented
59-
via wrapper structures, and appear in Python as :class:`types.WrapperDescriptorType`
60-
objects.
60+
via wrapper structures, and appear in Python as
61+
:class:`types.WrapperDescriptorType` objects.
6162
6263
6364
.. c:function:: PyObject* PyDescr_NewClassMethod(PyTypeObject *type, PyMethodDef *method)

0 commit comments

Comments
 (0)