[3.7] bpo-36799: Fix typo in ctypes.rst (GH-13104) (GH-13341) · python/cpython@4fd7f56

Original file line numberDiff line numberDiff line change

@@ -2365,7 +2365,7 @@ other data types containing pointer type fields.

23652365

and so on). Later assignments to the :attr:`_fields_` class variable will

23662366

raise an AttributeError.

23672367
2368-

It is possible to defined sub-subclasses of structure types, they inherit

2368+

It is possible to define sub-subclasses of structure types, they inherit

23692369

the fields of the base class plus the :attr:`_fields_` defined in the

23702370

sub-subclass, if any.

23712371

@@ -2413,7 +2413,7 @@ other data types containing pointer type fields.

24132413

td.lptdesc = POINTER(some_type)

24142414

td.u.lptdesc = POINTER(some_type)

24152415
2416-

It is possible to defined sub-subclasses of structures, they inherit the

2416+

It is possible to define sub-subclasses of structures, they inherit the

24172417

fields of the base class. If the subclass definition has a separate

24182418

:attr:`_fields_` variable, the fields specified in this are appended to the

24192419

fields of the base class.