summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYavor Konstantinov <7553015+sehnsucht13@users.noreply.github.com>2019-05-15 15:02:13 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-05-15 15:02:13 (GMT)
commit133fc89ca02b51b8d5b87556d94f1382c4ed72c1 (patch)
treee8c430e11394c0eba253dc7308d08ad494daf108 /Doc
parent5eb8b07f87c66a9ca54fcb90737753ce76a3054d (diff)
downloadcpython-133fc89ca02b51b8d5b87556d94f1382c4ed72c1.zip
cpython-133fc89ca02b51b8d5b87556d94f1382c4ed72c1.tar.gz
cpython-133fc89ca02b51b8d5b87556d94f1382c4ed72c1.tar.bz2
bpo-36799: Fix typo in ctypes.rst (GH-13104)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index baab0de..1c60b4b 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.