Skip to content

Commit 68d14c0

Browse files
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent c745676 commit 68d14c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/c-api/descriptor.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ found in the dictionary of type objects.
2626
The type object for member descriptor objects created from
2727
:c:type:`PyMemberDef` structures. These descriptors expose fields of a
2828
C struct as attributes on a type, and correspond
29-
to :class:`types.MemberDescriptorType` objects in the Python layer.
29+
to :class:`types.MemberDescriptorType` objects in Python.
3030
3131
3232
@@ -46,7 +46,7 @@ found in the dictionary of type objects.
4646
The type object for method descriptor objects created from
4747
:c:type:`PyMethodDef` structures. These descriptors expose C functions as
4848
methods on a type, and correspond to :class:`types.MemberDescriptorType`
49-
objects in the Python layer.
49+
objects in Python.
5050
5151
5252
.. c:function:: PyObject* PyDescr_NewWrapper(PyTypeObject *type, struct wrapperbase *wrapper, void *wrapped)
@@ -93,8 +93,8 @@ Built-in descriptors
9393
9494
The type object for C-level class method descriptor objects.
9595
This is the type of the descriptors created for :func:`classmethod` defined in
96-
C extension types, and is the same object as :class:`classmethod` in the
97-
Python layer.
96+
C extension types, and is the same object as :class:`classmethod`
97+
in Python.
9898
9999
100100
.. c:function:: PyObject *PyClassMethod_New(PyObject *callable)

0 commit comments

Comments
 (0)