Skip to content

Commit 4fd7f56

Browse files
[3.7] bpo-36799: Fix typo in ctypes.rst (GH-13104) (GH-13341)
(cherry picked from commit 133fc89) Co-authored-by: Yavor Konstantinov <[email protected]>
1 parent c647ad9 commit 4fd7f56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/ctypes.rst

Lines changed: 2 additions & 2 deletions
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.

0 commit comments

Comments
 (0)