[Python-checkins] bpo-36799: Fix typo in ctypes.rst (GH-13104)

Stéphane Wirtel webhook-mailer at python.org
Wed May 15 11:02:30 EDT 2019


https://github.com/python/cpython/commit/133fc89ca02b51b8d5b87556d94f1382c4ed72c1
commit: 133fc89ca02b51b8d5b87556d94f1382c4ed72c1
branch: master
author: Yavor Konstantinov <7553015+sehnsucht13 at users.noreply.github.com>
committer: Stéphane Wirtel <stephane at wirtel.be>
date: 2019-05-15T17:02:13+02:00
summary:

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

files:
M Doc/library/ctypes.rst

diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index baab0de8f8ac..1c60b4bbda13 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -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.



More information about the Python-checkins mailing list