]> granicus.if.org Git - python/commitdiff
bpo-36799: Fix typo in ctypes.rst (GH-13104)
authorYavor Konstantinov <7553015+sehnsucht13@users.noreply.github.com>
Wed, 15 May 2019 15:02:13 +0000 (08:02 -0700)
committerStéphane Wirtel <stephane@wirtel.be>
Wed, 15 May 2019 15:02:13 +0000 (17:02 +0200)
Doc/library/ctypes.rst

index baab0de8f8ac5e5c169e043745ec1de475748da0..1c60b4bbda13ecdc7f9d383b96aea93c9387eef2 100644 (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.