Skip to content

Commit 133fc89

Browse files
sehnsucht13matrixise
authored andcommitted
bpo-36799: Fix typo in ctypes.rst (pythonGH-13104)
1 parent 5eb8b07 commit 133fc89

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
@@ -2376,7 +2376,7 @@ other data types containing pointer type fields.
23762376
and so on). Later assignments to the :attr:`_fields_` class variable will
23772377
raise an AttributeError.
23782378

2379-
It is possible to defined sub-subclasses of structure types, they inherit
2379+
It is possible to define sub-subclasses of structure types, they inherit
23802380
the fields of the base class plus the :attr:`_fields_` defined in the
23812381
sub-subclass, if any.
23822382

@@ -2424,7 +2424,7 @@ other data types containing pointer type fields.
24242424
td.lptdesc = POINTER(some_type)
24252425
td.u.lptdesc = POINTER(some_type)
24262426

2427-
It is possible to defined sub-subclasses of structures, they inherit the
2427+
It is possible to define sub-subclasses of structures, they inherit the
24282428
fields of the base class. If the subclass definition has a separate
24292429
:attr:`_fields_` variable, the fields specified in this are appended to the
24302430
fields of the base class.

0 commit comments

Comments
 (0)