summaryrefslogtreecommitdiff
path: root/Modules/_ctypes/_ctypes.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 08:32:47 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 08:32:47 +0300
commit9f70a4849d1a62db5ec8e2ba5b06784d69480fe3 (patch)
treefc02c229f9b75e01c3e1c932ea723b5488c8d810 /Modules/_ctypes/_ctypes.c
parentf42605c06134891436b5b6b49940c8b732414167 (diff)
downloadcpython-9f70a4849d1a62db5ec8e2ba5b06784d69480fe3.tar.gz
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Diffstat (limited to 'Modules/_ctypes/_ctypes.c')
-rw-r--r--Modules/_ctypes/_ctypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index 7e20301ec1..9426128810 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -3802,7 +3802,7 @@ PyCFuncPtr_call(PyCFuncPtrObject *self, PyObject *inargs, PyObject *kwds)
return NULL;
}
/* there should be more checks? No, in Python */
- /* First arg is an pointer to an interface instance */
+ /* First arg is a pointer to an interface instance */
if (!this->b_ptr || *(void **)this->b_ptr == NULL) {
PyErr_SetString(PyExc_ValueError,
"NULL COM pointer access");