summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-28 01:11:04 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-07-28 01:11:04 +0000
commitd4a5f3a20409f68f788f156205fa6011192e99b0 (patch)
tree4f2824bc8c41c16b7cbd3e5a1292f215a7d5d219 /Modules
parent41fc950d870f45c030f914fe80258fdea12f2d06 (diff)
downloadcpython-d4a5f3a20409f68f788f156205fa6011192e99b0.tar.gz
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skytt?.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/_ctypes.c2
-rw-r--r--Modules/itertoolsmodule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index a7a81056bc..b20039f0d8 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -332,7 +332,7 @@ _ctypes_alloc_format_string_with_shape(int ndim, const Py_ssize_t *shape,
/*
PyCStructType_Type - a meta type/class. Creating a new class using this one as
- __metaclass__ will call the contructor StructUnionType_new. It replaces the
+ __metaclass__ will call the constructor StructUnionType_new. It replaces the
tp_dict member with a new instance of StgDict, and initializes the C
accessible fields somehow.
*/
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 409922a643..6ff241e7dd 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -1911,7 +1911,7 @@ iterable, until all of the iterables are exhausted.");
PyDoc_STRVAR(chain_from_iterable_doc,
"chain.from_iterable(iterable) --> chain object\n\
\n\
-Alternate chain() contructor taking a single iterable argument\n\
+Alternate chain() constructor taking a single iterable argument\n\
that evaluates lazily.");
static PyMethodDef chain_methods[] = {