bpo-36799: Fix typo in ctypes.rst (GH-13104)

This commit is contained in:
Yavor Konstantinov 2019-05-15 08:02:13 -07:00 committed by Stéphane Wirtel
parent 5eb8b07f87
commit 133fc89ca0
1 changed files with 2 additions and 2 deletions

View File

@ -2376,7 +2376,7 @@ other data types containing pointer type fields.
and so on). Later assignments to the :attr:`_fields_` class variable will
raise an AttributeError.
It is possible to defined sub-subclasses of structure types, they inherit
It is possible to define sub-subclasses of structure types, they inherit
the fields of the base class plus the :attr:`_fields_` defined in the
sub-subclass, if any.
@ -2424,7 +2424,7 @@ other data types containing pointer type fields.
td.lptdesc = POINTER(some_type)
td.u.lptdesc = POINTER(some_type)
It is possible to defined sub-subclasses of structures, they inherit the
It is possible to define sub-subclasses of structures, they inherit the
fields of the base class. If the subclass definition has a separate
:attr:`_fields_` variable, the fields specified in this are appended to the
fields of the base class.