summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-05-20 17:57:28 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-05-20 17:57:28 (GMT)
commit3a6df8183b6b95dbc71c6bbffe7b3b0d3b2be325 (patch)
tree90ef2df8a740930f074b05c1613a1f072f7ffb4d
parente61d4372ed32010318d43be8f296aee58cf6d86d (diff)
downloadcpython-3a6df8183b6b95dbc71c6bbffe7b3b0d3b2be325.zip
cpython-3a6df8183b6b95dbc71c6bbffe7b3b0d3b2be325.tar.gz
cpython-3a6df8183b6b95dbc71c6bbffe7b3b0d3b2be325.tar.bz2
Merged revisions 72794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72794 | mark.dickinson | 2009-05-20 18:55:31 +0100 (Wed, 20 May 2009) | 1 line typos in ctypes Module ........
-rw-r--r--Modules/_ctypes/_ctypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index 3f19cc4..a62b716 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -444,7 +444,7 @@ CDataType_from_buffer(PyObject *type, PyObject *args)
if (offset < 0) {
PyErr_SetString(PyExc_ValueError,
- "offset cannit be negative");
+ "offset cannot be negative");
return NULL;
}
if (dict->size > buffer_len - offset) {
@@ -500,7 +500,7 @@ CDataType_from_buffer_copy(PyObject *type, PyObject *args)
if (offset < 0) {
PyErr_SetString(PyExc_ValueError,
- "offset cannit be negative");
+ "offset cannot be negative");
return NULL;
}