diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-08-03 06:00:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-08-03 06:00:59 (GMT) |
commit | 49b2734bf12dc1cda80fd73d3ec8896ae3e362f2 (patch) | |
tree | 049e496126aae48bf6d7c3ddbb7f145e04e53e97 /Modules | |
parent | d9d55c91bec4776b41685b48fe660621e89f0617 (diff) | |
download | cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.zip cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.tar.gz cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.tar.bz2 |
Spelling fixes (#2902)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 2 | ||||
-rw-r--r-- | Modules/_lzmamodule.c | 2 | ||||
-rw-r--r-- | Modules/posixmodule.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index fc953af..fe39567 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -3670,7 +3670,7 @@ _build_callargs(PyCFuncPtrObject *self, PyObject *argtypes, */ if (ob == NULL) goto error; - /* The .from_param call that will ocurr later will pass this + /* The .from_param call that will occur later will pass this as a byref parameter. */ PyTuple_SET_ITEM(callargs, i, ob); *poutmask |= (1 << i); /* mark as out arg */ diff --git a/Modules/_lzmamodule.c b/Modules/_lzmamodule.c index bb77552..26bfa0b 100644 --- a/Modules/_lzmamodule.c +++ b/Modules/_lzmamodule.c @@ -824,7 +824,7 @@ PyDoc_STRVAR(Compressor_doc, "be FORMAT_XZ (default), FORMAT_ALONE, or FORMAT_RAW.\n" "\n" "check specifies the integrity check to use. For FORMAT_XZ, the default\n" -"is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not suport integrity\n" +"is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not support integrity\n" "checks; for these formats, check must be omitted, or be CHECK_NONE.\n" "\n" "The settings used by the compressor can be specified either as a\n" diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 0c6723f..2e5e79a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -1038,7 +1038,7 @@ path_converter(PyObject *o, void *p) } else if (is_buffer) { /* XXX Replace PyObject_CheckBuffer with PyBytes_Check in other code - after removing suport of non-bytes buffer objects. */ + after removing support of non-bytes buffer objects. */ if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1, "%s%s%s should be %s, not %.200s", path->function_name ? path->function_name : "", |